about summary refs log tree commit diff
path: root/src/libstd/sys_common
diff options
context:
space:
mode:
authorJeremy Stucki <jeremy@myelin.ch>2019-06-25 19:36:30 +0200
committerJeremy Stucki <stucki.jeremy@gmail.com>2019-07-03 10:01:03 +0200
commit88c515da0728a3a3738be6ffa96168d060243225 (patch)
treef7c3edd82cf04d10e02275af0a2f5278a3628def /src/libstd/sys_common
parentedcde7025c928de35e8635c6725b20ce91dc241d (diff)
downloadrust-88c515da0728a3a3738be6ffa96168d060243225.tar.gz
rust-88c515da0728a3a3738be6ffa96168d060243225.zip
Revert changes to the standard library
Moved to its own PR
Diffstat (limited to 'src/libstd/sys_common')
-rw-r--r--src/libstd/sys_common/io.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys_common/io.rs b/src/libstd/sys_common/io.rs
index 8789abe55c3..44b0963302d 100644
--- a/src/libstd/sys_common/io.rs
+++ b/src/libstd/sys_common/io.rs
@@ -16,7 +16,7 @@ pub mod test {
             p.join(path)
         }
 
-        pub fn path(&self) -> &Path {
+        pub fn path<'a>(&'a self) -> &'a Path {
             let TempDir(ref p) = *self;
             p
         }