about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-31 11:26:10 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-03-31 15:53:26 -0700
commitda04788efca6ec1e421139fb4916a5aacd49a2e2 (patch)
tree91bb44f384c9927d40392696e9b356fd22b77bd5 /src/liballoc
parent94137a37e90f2fc5faf725965b419944e14ad271 (diff)
parent9fc51efe3344a32d9e522f08383f052277b6ab63 (diff)
downloadrust-da04788efca6ec1e421139fb4916a5aacd49a2e2.tar.gz
rust-da04788efca6ec1e421139fb4916a5aacd49a2e2.zip
rollup merge of #23875: aturon/revise-convert-2
* 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]

r? @alexcrichton
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions