Skip to content

Commit

Permalink
style: Fix a Clippy warning re unnecessary into_iter()
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0methean committed Jun 22, 2024
1 parent e20fd79 commit fcc4fa9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -765,9 +765,9 @@ impl<R: Read + Seek> ZipArchive<R> {
let Some((footer, shared)) = best_result else {
return Err(unsupported_errors_32
.into_iter()
.chain(unsupported_errors_64.into_iter())
.chain(invalid_errors_32.into_iter())
.chain(invalid_errors_64.into_iter())
.chain(unsupported_errors_64)
.chain(invalid_errors_32)
.chain(invalid_errors_64)
.next()
.unwrap());
};
Expand Down

0 comments on commit fcc4fa9

Please sign in to comment.