diff options
| author | bors <bors@rust-lang.org> | 2017-03-15 04:24:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-03-15 04:24:10 +0000 |
| commit | 71d7b29475225ae799f4906f3b50e06a7d323890 (patch) | |
| tree | 5776d3b90380efc5035c701ccbfa756eb409b54b /src/rustllvm/RustWrapper.cpp | |
| parent | 6f10e2f63de720468e2b4bfcb275e4b90b1f9870 (diff) | |
| parent | 560944b982385623655f1e8503af5e7b4ca0a436 (diff) | |
| download | rust-71d7b29475225ae799f4906f3b50e06a7d323890.tar.gz rust-71d7b29475225ae799f4906f3b50e06a7d323890.zip | |
Auto merge of #40009 - clarcharr:box_to_buf, r=alexcrichton
Leftovers from #39594; From<Box> impls These are a few more impls that follow the same reasoning as those from #39594. What's included: * `From<Box<str>> for String` * `From<Box<[T]>> for Vec<T>` * `From<Box<CStr>> for CString` * `From<Box<OsStr>> for OsString` * `From<Box<Path>> for PathBuf` * `Into<Box<str>> for String` * `Into<Box<[T]>> for Vec<T>` * `Into<Box<CStr>> for CString` * `Into<Box<OsStr>> for OsString` * `Into<Box<Path>> for PathBuf` * `<Box<CStr>>::into_c_string` * `<Box<OsStr>>::into_os_string` * `<Box<Path>>::into_path_buf` * Tracking issue for latter three methods + three from previous PR. Currently, the opposite direction isn't doable with `From` (only `Into`) because of the separation between `liballoc` and `libcollections`. I'm holding off on those for a later PR.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
