]> git.lizzy.rs Git - rust.git/commit
Implement `Rc`/`Arc` conversions for string-like types
authorMurarth <murarth@gmail.com>
Tue, 14 Nov 2017 19:31:07 +0000 (12:31 -0700)
committerMurarth <murarth@gmail.com>
Sun, 26 Nov 2017 05:13:11 +0000 (22:13 -0700)
commit1bbc7764461631100c88f5523238a19bc4767199
treeee685d670bb77c7bafed0b2b9567b9214a7fb922
parent693bb0dae24101f1699949ec02917167a6c172d5
Implement `Rc`/`Arc` conversions for string-like types

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>`
src/libstd/ffi/c_str.rs
src/libstd/ffi/os_str.rs
src/libstd/path.rs
src/libstd/sys/redox/os_str.rs
src/libstd/sys/unix/os_str.rs
src/libstd/sys/wasm/os_str.rs
src/libstd/sys/windows/os_str.rs
src/libstd/sys_common/wtf8.rs