1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

clippy: simplify code according to nightly 'needless_borrows_for_generic_args' lint

https://rust-lang.github.io/rust-clippy/master/index.html#/needless_borrows_for_generic_args
This commit is contained in:
Ben Wiederhake 2024-07-18 15:38:10 +02:00
parent 76af976e48
commit 42b3baf32f
9 changed files with 27 additions and 27 deletions

View file

@ -2028,7 +2028,7 @@ fn test_cp_archive_recursive() {
let result = scene2
.cmd("ls")
.arg("-al")
.arg(&at.subdir.join(TEST_COPY_TO_FOLDER))
.arg(at.subdir.join(TEST_COPY_TO_FOLDER))
.run();
println!("ls dest {}", result.stdout_str());
@ -2036,7 +2036,7 @@ fn test_cp_archive_recursive() {
let result = scene2
.cmd("ls")
.arg("-al")
.arg(&at.subdir.join(TEST_COPY_TO_FOLDER_NEW))
.arg(at.subdir.join(TEST_COPY_TO_FOLDER_NEW))
.run();
println!("ls dest {}", result.stdout_str());