mirror of
https://github.com/uutils/coreutils.git
synced 2025-12-23 08:47:37 +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)?;
|
||||
|
||||
if let Some(progress_bar) = progress_bar {
|
||||
progress_bar.inc(fs::metadata(&source)?.len());
|
||||
progress_bar.inc(fs::metadata(source)?.len());
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue