1
Fork 0
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:
Roy Ivy III 2021-06-06 13:22:00 -05:00
parent 5889d81fde
commit 768b343ff9

View file

@ -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)
} }
} }