diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2017-04-13 02:48:46 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2017-04-18 21:02:18 -0700 |
| commit | 295bcdb715871ef3ba0258c75dad885b7315a162 (patch) | |
| tree | 55cd65b380897d4c742b5b1073da93fd3a1cf5da /src/libstd/lib.rs | |
| parent | 9f2abadca2d065bf81772cb84981d0a22d8e98b3 (diff) | |
| download | rust-295bcdb715871ef3ba0258c75dad885b7315a162.tar.gz rust-295bcdb715871ef3ba0258c75dad885b7315a162.zip | |
Override ToOwned::clone_into for Path and OsStr
The only non-overridden one remaining is the CStr impl, which cannot be optimized as doing so would break CString's second invariant.
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 8de6e1a24f1..367779bb701 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -311,6 +311,7 @@ #![feature(str_utf16)] #![feature(test, rustc_private)] #![feature(thread_local)] +#![feature(toowned_clone_into)] #![feature(try_from)] #![feature(unboxed_closures)] #![feature(unicode)] |
