cargo clippy fix
This commit is contained in:
parent
f586b93af5
commit
bb2a8e909f
1 changed files with 1 additions and 2 deletions
|
@ -389,8 +389,7 @@ fn _process_directory_entry<P: AsRef<Path>>(
|
||||||
let maybe_existing_file = existing_files
|
let maybe_existing_file = existing_files
|
||||||
.iter()
|
.iter()
|
||||||
.enumerate()
|
.enumerate()
|
||||||
.find(|(_, file)| file.path == normalized_path_str)
|
.find(|(_, file)| file.path == normalized_path_str);
|
||||||
.clone();
|
|
||||||
|
|
||||||
if let Some((idx, existing_file)) = maybe_existing_file {
|
if let Some((idx, existing_file)) = maybe_existing_file {
|
||||||
if size == existing_file.size && mtime == existing_file.mtime {
|
if size == existing_file.size && mtime == existing_file.mtime {
|
||||||
|
|
Loading…
Reference in a new issue