fix: Clippy fix

- small Clippy fix from CI

Tested:
- No
This commit is contained in:
Alexander Zaitsev 2022-01-23 19:07:24 +03:00
parent a5ae0bbe64
commit 113afbeafe

View file

@ -111,7 +111,7 @@ fn doit(
let path = Path::new(dst_file);
let file = File::create(&path).unwrap();
let walkdir = WalkDir::new(src_dir.to_string());
let walkdir = WalkDir::new(src_dir);
let it = walkdir.into_iter();
zip_dir(&mut it.filter_map(|e| e.ok()), src_dir, file, method)?;