We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 950e426 + 6119f98 commit 382c0ebCopy full SHA for 382c0eb
src/libstd/ffi/os_str.rs
@@ -530,7 +530,7 @@ impl<'a> From<&'a OsStr> for Box<OsStr> {
530
}
531
532
#[stable(feature = "os_string_from_box", since = "1.18.0")]
533
-impl<'a> From<Box<OsStr>> for OsString {
+impl From<Box<OsStr>> for OsString {
534
fn from(boxed: Box<OsStr>) -> OsString {
535
boxed.into_os_string()
536
src/libstd/path.rs
@@ -1342,7 +1342,7 @@ impl<'a> From<&'a Path> for Box<Path> {
1342
1343
1344
#[stable(feature = "path_buf_from_box", since = "1.18.0")]
1345
-impl<'a> From<Box<Path>> for PathBuf {
+impl From<Box<Path>> for PathBuf {
1346
fn from(boxed: Box<Path>) -> PathBuf {
1347
boxed.into_path_buf()
1348
0 commit comments