Rollup merge of #42127 - clarcharr:lifetimes, r=Mark-Simulacrum

Remove unused lifetimes.

This was a typo that made it onto master. Noted by @dtolnay in #42127.

Also note #41960 which suggests warning these.
This commit is contained in:
Mark Simulacrum
2017-05-20 17:48:16 -06:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -530,7 +530,7 @@ fn from(s: &'a OsStr) -> 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()
}
+1 -1
View File
@@ -1342,7 +1342,7 @@ fn from(path: &'a Path) -> 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()
}