Enable clippy::explicit_into_iter_loop

This commit is contained in:
link2xt
2023-03-12 14:51:44 +00:00
parent 2bd7781276
commit 4d620afdb8
6 changed files with 7 additions and 6 deletions

View File

@@ -602,7 +602,7 @@ async fn export_backup_inner(
let mut written_files = 0;
let mut last_progress = 0;
for entry in read_dir.into_iter() {
for entry in read_dir {
let name = entry.file_name();
if !entry.file_type().await?.is_file() {
warn!(