summaryrefslogtreecommitdiff
path: root/test/test_stat.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2020-05-31 15:17:16 -0600
committerAlan Somers <asomers@gmail.com>2020-05-31 19:07:15 -0600
commit1ae5dd8b16aed61958fd3ce488ed7fd459743652 (patch)
tree17c28555c9b2cd3db3741dcd28b7401d08ad3678 /test/test_stat.rs
parent84e66d7a29234d16d62c5fa5bc5b66ad5504c2a2 (diff)
downloadnix-1ae5dd8b16aed61958fd3ce488ed7fd459743652.zip
Convert the crate to edition 2018
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);