From 6119f9856cd7ed514656c19b56da65ea7bd7dd0a Mon Sep 17 00:00:00 2001 From: Clar Charr Date: Sat, 20 May 2017 15:32:11 -0400 Subject: [PATCH] Remove unused lifetimes. --- src/libstd/ffi/os_str.rs | 2 +- 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 eaf0502a577d9..f497734e249c5 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 { } #[stable(feature = "os_string_from_box", since = "1.18.0")] -impl<'a> From> for OsString { +impl From> for OsString { fn from(boxed: Box) -> OsString { boxed.into_os_string() } diff --git a/src/libstd/path.rs b/src/libstd/path.rs index e7d8c3007f692..e128a4164d74a 100644 --- a/src/libstd/path.rs +++ b/src/libstd/path.rs @@ -1342,7 +1342,7 @@ impl<'a> From<&'a Path> for Box { } #[stable(feature = "path_buf_from_box", since = "1.18.0")] -impl<'a> From> for PathBuf { +impl From> for PathBuf { fn from(boxed: Box) -> PathBuf { boxed.into_path_buf() }