rust/src/librustdoc
Alex Crichton a828e79480 std: Tweak the std::env OsString/String interface
This commit tweaks the interface of the `std::env` module to make it more
ergonomic for common usage:

* `env::var` was renamed to `env::var_os`
* `env::var_string` was renamed to `env::var`
* `env::args` was renamed to `env::args_os`
* `env::args` was re-added as a panicking iterator over string values
* `env::vars` was renamed to `env::vars_os`
* `env::vars` was re-added as a panicking iterator over string values.

This should make common usage (e.g. unicode values everywhere) more ergonomic
as well as "the default". This is also a breaking change due to the differences
of what's yielded from each of these functions, but migration should be fairly
easy as the defaults operate over `String` which is a common type to use.

[breaking-change]
2015-02-11 13:46:35 -08:00
..
clean Auto merge of #21999 - tomjakubowski:rustdoc-fixes, r=alexcrichton 2015-02-08 06:15:52 +00:00
html rollup merge of #22097: cllns/fix-fallback-fonts 2015-02-10 08:42:47 -08:00
core.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
doctree.rs s/Show/Debug/g 2015-01-29 07:49:02 -05:00
externalfiles.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
flock.rs openbsd support 2015-02-01 14:41:38 +01:00
fold.rs Fix fallout from change, adding explicit Sized annotations where necessary. 2015-01-02 12:06:59 -05:00
lib.rs std: Tweak the std::env OsString/String interface 2015-02-11 13:46:35 -08:00
markdown.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
passes.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
plugins.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
stability_summary.rs Merge remote-tracking branch 'rust-lang/master' 2015-01-25 01:20:55 -08:00
test.rs parse cfgspecs passed to rustdoc 2015-02-10 10:31:14 -05:00
visit_ast.rs librustdoc has been updated 2015-02-06 22:54:41 +01:00