diff options
author | Daniel Hofstetter <daniel.hofstetter@42dh.com> | 2023-11-16 16:02:38 +0100 |
---|---|---|
committer | Daniel Hofstetter <daniel.hofstetter@42dh.com> | 2023-11-16 16:21:28 +0100 |
commit | 2f9fcf73faad9d60db6f08c2e9ecd57fa845b0bd (patch) | |
tree | 45be462feb3f099672dc49b6186777a399228381 /tests/by-util/test_ls.rs | |
parent | 7ff4cb3f4e236724d8bdf0d3a83258cd5daeb228 (diff) |
clippy: fix warnings introduced by Rust 1.74
Diffstat (limited to 'tests/by-util/test_ls.rs')
-rw-r--r-- | tests/by-util/test_ls.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/by-util/test_ls.rs b/tests/by-util/test_ls.rs index cdd0292e1..07ea8c9cd 100644 --- a/tests/by-util/test_ls.rs +++ b/tests/by-util/test_ls.rs @@ -994,9 +994,9 @@ fn test_ls_long() { fn test_ls_long_format() { let scene = TestScenario::new(util_name!()); let at = &scene.fixtures; - at.mkdir(&at.plus_as_string("test-long-dir")); + at.mkdir(at.plus_as_string("test-long-dir")); at.touch(at.plus_as_string("test-long-dir/test-long-file")); - at.mkdir(&at.plus_as_string("test-long-dir/test-long-dir")); + at.mkdir(at.plus_as_string("test-long-dir/test-long-dir")); for arg in LONG_ARGS { // Assuming sane username do not have spaces within them. @@ -1971,7 +1971,7 @@ fn test_ls_color() { .join("nested_dir") .to_string_lossy() .to_string(); - at.mkdir(&nested_dir); + at.mkdir(nested_dir); at.mkdir("z"); let nested_file = Path::new("a") .join("nested_file") |