Skip to content

Commit

Permalink
fix: clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Plecra committed Feb 1, 2023
1 parent e322842 commit 1eb491e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/read/stream.rs
Expand Up @@ -71,7 +71,7 @@ impl<R: Read> ZipStreamReader<R> {
fs::create_dir_all(&outpath)?;
} else {
if let Some(p) = outpath.parent() {
fs::create_dir_all(&p)?;
fs::create_dir_all(p)?;
}
let mut outfile = fs::File::create(&outpath)?;
io::copy(file, &mut outfile)?;
Expand Down

0 comments on commit 1eb491e

Please sign in to comment.