diff options
author | Alan Somers <asomers@gmail.com> | 2022-09-11 16:25:33 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2022-09-11 16:25:33 -0600 |
commit | 3aedbfa08ee7459025d8f45bda034d8fd4d5c9b7 (patch) | |
tree | 603527fe749253cb30c36fa88e184b68ee4349f0 /test | |
parent | 1eb589f26fe4b56ce799e05d3b5fb527729cffdf (diff) | |
download | nix-3aedbfa08ee7459025d8f45bda034d8fd4d5c9b7.zip |
Clippy cleanup
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(); |