mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-17 04:06:18 +00:00
refactor/mktemp ~ fix cargo clippy
complaint (clippy::needless_borrow)
This commit is contained in:
parent
5889d81fde
commit
768b343ff9
1 changed files with 2 additions and 2 deletions
|
@ -165,9 +165,9 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
|
||||||
};
|
};
|
||||||
|
|
||||||
if dry_run {
|
if dry_run {
|
||||||
dry_exec(tmpdir, prefix, rand, &suffix)
|
dry_exec(tmpdir, prefix, rand, suffix)
|
||||||
} else {
|
} else {
|
||||||
exec(tmpdir, prefix, rand, &suffix, make_dir, suppress_file_err)
|
exec(tmpdir, prefix, rand, suffix, make_dir, suppress_file_err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue