style: Fix a Clippy warning re unnecessary into_iter()

This commit is contained in:
Chris Hennick 2024-06-21 23:15:23 -07:00
parent e20fd7959a
commit fcc4fa93e3
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -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());
};