summaryrefslogtreecommitdiff
path: root/test/test_stat.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_stat.rs')
-rw-r--r--test/test_stat.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_stat.rs b/test/test_stat.rs
index 14a2b06c..0b946668 100644
--- a/test/test_stat.rs
+++ b/test/test_stat.rs
@@ -172,7 +172,7 @@ fn test_fchmod() {
#[test]
#[cfg(not(target_os = "redox"))]
fn test_fchmodat() {
- let _dr = ::DirRestore::new();
+ let _dr = crate::DirRestore::new();
let tempdir = tempfile::tempdir().unwrap();
let filename = "foo.txt";
let fullpath = tempdir.path().join(filename);
@@ -264,7 +264,7 @@ fn test_futimens() {
#[test]
#[cfg(not(target_os = "redox"))]
fn test_utimensat() {
- let _dr = ::DirRestore::new();
+ let _dr = crate::DirRestore::new();
let tempdir = tempfile::tempdir().unwrap();
let filename = "foo.txt";
let fullpath = tempdir.path().join(filename);