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

clippy: fix redundant_clone lint warnings in tests

This commit is contained in:
Daniel Hofstetter 2024-04-17 16:57:38 +02:00 committed by Ben Wiederhake
parent 2ee782fcf1
commit 29e5d0b42b
4 changed files with 19 additions and 19 deletions

View file

@ -165,7 +165,7 @@ fn test_chroot_skip_chdir_not_root() {
#[test]
fn test_chroot_skip_chdir() {
let ts = TestScenario::new(util_name!());
let at = ts.fixtures.clone();
let at = &ts.fixtures;
let dirs = ["/", "/.", "/..", "isroot"];
at.symlink_file("/", "isroot");
for dir in dirs {