From 2f9fcf73faad9d60db6f08c2e9ecd57fa845b0bd Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Thu, 16 Nov 2023 16:02:38 +0100 Subject: clippy: fix warnings introduced by Rust 1.74 --- tests/by-util/test_ls.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/by-util/test_ls.rs') 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") -- cgit v1.2.3