diff options
| author | Clar Charr <clar@charr.xyz> | 2017-05-20 15:32:11 -0400 |
|---|---|---|
| committer | Clar Charr <clar@charr.xyz> | 2017-05-20 15:32:11 -0400 |
| commit | 6119f9856cd7ed514656c19b56da65ea7bd7dd0a (patch) | |
| tree | 9cc548b8afafb559b2f2047a4430d5f61d8aba2a /src/libstd/ffi | |
| parent | 272e77f035d8cca43f228764c2028c09eeaca20e (diff) | |
| download | rust-6119f9856cd7ed514656c19b56da65ea7bd7dd0a.tar.gz rust-6119f9856cd7ed514656c19b56da65ea7bd7dd0a.zip | |
Remove unused lifetimes.
Diffstat (limited to 'src/libstd/ffi')
| -rw-r--r-- | src/libstd/ffi/os_str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/ffi/os_str.rs b/src/libstd/ffi/os_str.rs index eaf0502a577..f497734e249 100644 --- a/src/libstd/ffi/os_str.rs +++ b/src/libstd/ffi/os_str.rs @@ -530,7 +530,7 @@ impl<'a> From<&'a OsStr> for Box<OsStr> { } #[stable(feature = "os_string_from_box", since = "1.18.0")] -impl<'a> From<Box<OsStr>> for OsString { +impl From<Box<OsStr>> for OsString { fn from(boxed: Box<OsStr>) -> OsString { boxed.into_os_string() } |
