From 1ae5dd8b16aed61958fd3ce488ed7fd459743652 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sun, 31 May 2020 15:17:16 -0600 Subject: Convert the crate to edition 2018 --- test/test_stat.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_stat.rs') 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); -- cgit v1.2.3