about summary refs log tree commit diff
path: root/src/libstd/os.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/os.rs')
-rw-r--r--src/libstd/os.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/os.rs b/src/libstd/os.rs
index 12281f06005..f461781e132 100644
--- a/src/libstd/os.rs
+++ b/src/libstd/os.rs
@@ -1495,7 +1495,7 @@ mod tests {
         use result::{Ok, Err};
         use os::*;
         use libc::*;
-        use rt::io::file;
+        use rt::io::File;
 
         #[cfg(unix)]
         #[fixed_stack_segment]
@@ -1544,7 +1544,7 @@ mod tests {
             assert!(*chunk.data == 0xbe);
             close(fd);
         }
-        file::unlink(&path);
+        File::unlink(&path);
     }
 
     // More recursive_mkdir tests are in extra::tempfile