diff options
| author | Josh Stone <jistone@redhat.com> | 2020-04-22 13:03:05 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2020-04-22 13:03:05 -0700 |
| commit | b0fb57bd8d18946787a79d1244154f2512dcf15b (patch) | |
| tree | ae0caa7022e8b5fcafa1646fcbdb68c2c339c57d /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 82e90d64266b8a4b53935d629786e69610b33f25 (diff) | |
| download | rust-b0fb57bd8d18946787a79d1244154f2512dcf15b.tar.gz rust-b0fb57bd8d18946787a79d1244154f2512dcf15b.zip | |
impl From<Cow> for boxed slices and strings
These forward `Borrowed`/`Owned` values to existing `Box::from` impls. - `From<Cow<'_, [T]>> for Box<[T]>` - `From<Cow<'_, str>> for Box<str>` - `From<Cow<'_, CStr>> for Box<CStr>` - `From<Cow<'_, OsStr>> for Box<OsStr>` - `From<Cow<'_, Path>> for Box<Path>`
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
