mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-15 19:36:16 +00:00
Fix a clippy warning
This commit is contained in:
parent
b821d21b7f
commit
abfccb351f
1 changed files with 1 additions and 1 deletions
|
@ -1500,7 +1500,7 @@ fn copy_file(
|
||||||
copy_attributes(source, dest, &options.preserve_attributes)?;
|
copy_attributes(source, dest, &options.preserve_attributes)?;
|
||||||
|
|
||||||
if let Some(progress_bar) = progress_bar {
|
if let Some(progress_bar) = progress_bar {
|
||||||
progress_bar.inc(fs::metadata(&source)?.len());
|
progress_bar.inc(fs::metadata(source)?.len());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue