diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_fcntl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_fcntl.rs b/test/test_fcntl.rs index f4adee21..bc65b260 100644 --- a/test/test_fcntl.rs +++ b/test/test_fcntl.rs @@ -216,7 +216,7 @@ fn test_readlink() { let src = tempdir.path().join("a"); let dst = tempdir.path().join("b"); println!("a: {:?}, b: {:?}", &src, &dst); - fs::symlink(&src.as_path(), &dst.as_path()).unwrap(); + fs::symlink(src.as_path(), dst.as_path()).unwrap(); let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); let expected_dir = src.to_str().unwrap(); |