summary refs log tree commit diff
path: root/src/libstd/sys/redox/os_str.rs
AgeCommit message (Collapse)AuthorLines
2018-04-12Move Utf8Lossy decoder to libcoreSimon Sapin-1/+1
2018-03-27Implement `shrink_to` method on collectionsDiggory Blake-0/+5
2017-12-18Add lossless debug implementation for unix OsStrsDiggory Blake-1/+2
2017-11-25Implement `Rc`/`Arc` conversions for string-like typesMurarth-0/+24
Provides the following conversion implementations: * `From<`{`CString`,`&CStr`}`>` for {`Arc`,`Rc`}`<CStr>` * `From<`{`OsString`,`&OsStr`}`>` for {`Arc`,`Rc`}`<OsStr>` * `From<`{`PathBuf`,`&Path`}`>` for {`Arc`,`Rc`}`<Path>`
2017-06-15Avoid allocations in Debug for os_strStepan Koltsov-7/+20
Fixes #38879
2017-03-15Auto merge of #40009 - clarcharr:box_to_buf, r=alexcrichtonbors-0/+6
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.
2017-03-10Add From<Box<..>> implementations.Clar Charr-0/+6
2017-03-10OsString::shrink_to_fit.Clar Charr-0/+5
2017-02-14Conversions between CStr/OsStr/Path and boxes.Clar Charr-0/+16
2016-11-28Commit to fix make tidyJeremy Soller-1/+1
2016-10-27Add redox systemJeremy Soller-0/+119