diff options
| author | Murarth <murarth@gmail.com> | 2017-06-15 14:10:43 -0700 |
|---|---|---|
| committer | Murarth <murarth@gmail.com> | 2017-08-19 11:43:31 -0700 |
| commit | 8e0d01b432b0683d13429dcce907a2b38f30b9f6 (patch) | |
| tree | 721a24a6dbcddf5a271549c89fd4015c22a031e8 /src/libstd/sys/unix/process/process_unix.rs | |
| parent | 7f397bdb062fe13a4707219a2f32486c5294f642 (diff) | |
| download | rust-8e0d01b432b0683d13429dcce907a2b38f30b9f6.tar.gz rust-8e0d01b432b0683d13429dcce907a2b38f30b9f6.zip | |
Implement `From<&[T]>` and others for `Arc`/`Rc`
Implements RFC 1845, adding implementations of: * `From<&[T]>` for `Rc<[T]>` * `From<&str>` for `Rc<str>` * `From<String>` for `Rc<str>` * `From<Box<T: ?Sized>>` for `Rc<T>` * `From<Vec<T>>` for `Rc<[T]>` * and likewise for `Arc<_>` Also removes now-obsolete internal methods `Rc::__from_array` and `Rc::__from_str`, replacing their use with `Rc::from`.
Diffstat (limited to 'src/libstd/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions
