Remove unused lifetimes.
This commit is contained in:
parent
272e77f035
commit
6119f9856c
2 changed files with 2 additions and 2 deletions
|
@ -530,7 +530,7 @@ impl<'a> From<&'a OsStr> for Box<OsStr> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[stable(feature = "os_string_from_box", since = "1.18.0")]
|
#[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 {
|
fn from(boxed: Box<OsStr>) -> OsString {
|
||||||
boxed.into_os_string()
|
boxed.into_os_string()
|
||||||
}
|
}
|
||||||
|
|
|
@ -1342,7 +1342,7 @@ impl<'a> From<&'a Path> for Box<Path> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[stable(feature = "path_buf_from_box", since = "1.18.0")]
|
#[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 {
|
fn from(boxed: Box<Path>) -> PathBuf {
|
||||||
boxed.into_path_buf()
|
boxed.into_path_buf()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue