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 | |
| parent | 272e77f035d8cca43f228764c2028c09eeaca20e (diff) | |
| download | rust-6119f9856cd7ed514656c19b56da65ea7bd7dd0a.tar.gz rust-6119f9856cd7ed514656c19b56da65ea7bd7dd0a.zip | |
Remove unused lifetimes.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/ffi/os_str.rs | 2 | ||||
| -rw-r--r-- | src/libstd/path.rs | 2 |
2 files changed, 2 insertions, 2 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() } diff --git a/src/libstd/path.rs b/src/libstd/path.rs index e7d8c3007f6..e128a4164d7 100644 --- a/src/libstd/path.rs +++ b/src/libstd/path.rs @@ -1342,7 +1342,7 @@ impl<'a> From<&'a Path> for Box<Path> { } #[stable(feature = "path_buf_from_box", since = "1.18.0")] -impl<'a> From<Box<Path>> for PathBuf { +impl From<Box<Path>> for PathBuf { fn from(boxed: Box<Path>) -> PathBuf { boxed.into_path_buf() } |
