]> git.lizzy.rs Git - rust.git/commit
Auto merge of #45990 - murarth:rc-from-strs, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 26 Nov 2017 06:49:43 +0000 (06:49 +0000)
committerbors <bors@rust-lang.org>
Sun, 26 Nov 2017 06:49:43 +0000 (06:49 +0000)
commitd4dc289f4bd5bff48b4eba393521b3eb899723a8
tree4a1bf54316539c23dcc2ad8c9fd1d4ba9e9aa549
parent2f84fb5cc1ac5f04bdf5a281997e02bcf4fc18d9
parent1bbc7764461631100c88f5523238a19bc4767199
Auto merge of #45990 - murarth:rc-from-strs, r=alexcrichton

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>`

Closes #45008