rust/src/libterm
Alex Crichton 9492275106 rollup merge of #22188: alexcrichton/envv2
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 14:02:24 -08:00
..
terminfo std: Tweak the std::env OsString/String interface 2015-02-11 13:46:35 -08:00
lib.rs rustc: Fix a number of stability lint holes 2015-02-11 12:14:59 -08:00
win.rs std: Rename Writer::write to Writer::write_all 2015-01-26 16:01:58 -08:00