mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
clippy: fix errors from unnecessary_semicolon lint
This commit is contained in:
parent
7af2c94678
commit
a8a43f73b0
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -185,7 +185,7 @@ fn test_random() {
|
|||
factors.push(factor);
|
||||
}
|
||||
None => break,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
factors.sort_unstable();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue