diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2017-05-20 17:48:16 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-20 17:48:16 -0600 |
| commit | 382c0eb810b9cd9f1e944df629f14a2dae0b13f4 (patch) | |
| tree | 70e697f5dd5867b7d0950fb8b2eaf8656a706156 /src/libstd/path.rs | |
| parent | 950e4266e61def05d14f7729094afa2e7ad00eba (diff) | |
| parent | 6119f9856cd7ed514656c19b56da65ea7bd7dd0a (diff) | |
| download | rust-382c0eb810b9cd9f1e944df629f14a2dae0b13f4.tar.gz rust-382c0eb810b9cd9f1e944df629f14a2dae0b13f4.zip | |
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.
Diffstat (limited to 'src/libstd/path.rs')
| -rw-r--r-- | src/libstd/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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() } |
