diff options
| author | Aaron Turon <aturon@mozilla.com> | 2015-03-30 15:15:27 -0700 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2015-03-31 11:24:38 -0700 |
| commit | 9fc51efe3344a32d9e522f08383f052277b6ab63 (patch) | |
| tree | 29eb89ae9f4b70cc88642eb6b66cbb9398c41ae4 /src/libsyntax | |
| parent | 6cf3b0b74aadcc1fe87adbd2c74876a1f6c920b3 (diff) | |
| download | rust-9fc51efe3344a32d9e522f08383f052277b6ab63.tar.gz rust-9fc51efe3344a32d9e522f08383f052277b6ab63.zip | |
Stabilize `std::convert` and related code
* Marks `#[stable]` the contents of the `std::convert` module.
* Added methods `PathBuf::as_path`, `OsString::as_os_str`,
`String::as_str`, `Vec::{as_slice, as_mut_slice}`.
* Deprecates `OsStr::from_str` in favor of a new, stable, and more
general `OsStr::new`.
* Adds unstable methods `OsString::from_bytes` and `OsStr::{to_bytes,
to_cstring}` for ergonomic FFI usage.
[breaking-change]
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index c471d9e3179..0980acd3433 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -37,7 +37,6 @@ #![feature(unicode)] #![feature(path_ext)] #![feature(str_char)] -#![feature(convert)] #![feature(into_cow)] #![feature(slice_patterns)] |
