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

clippy: fix errors from unnecessary_semicolon lint

This commit is contained in:
Daniel Hofstetter 2025-04-03 14:24:16 +02:00
parent 7af2c94678
commit a8a43f73b0
2 changed files with 3 additions and 3 deletions

View file

@ -5637,7 +5637,7 @@ mod link_deref {
let mut args = vec!["--link", "-P", src, DST];
if r {
args.push("-R");
};
}
scene.ucmd().args(&args).succeeds().no_stderr();
at.is_symlink(DST);
let src_ino = at.symlink_metadata(src).ino();
@ -5658,7 +5658,7 @@ mod link_deref {
let mut args = vec!["--link", DANG_LINK, DST];
if r {
args.push("-R");
};
}
if !option.is_empty() {
args.push(option);
}

View file

@ -185,7 +185,7 @@ fn test_random() {
factors.push(factor);
}
None => break,
};
}
}
factors.sort_unstable();