style: Fix a Clippy warning re unnecessary into_iter()
This commit is contained in:
parent
e20fd7959a
commit
fcc4fa93e3
1 changed files with 3 additions and 3 deletions
|
@ -765,9 +765,9 @@ impl<R: Read + Seek> ZipArchive<R> {
|
||||||
let Some((footer, shared)) = best_result else {
|
let Some((footer, shared)) = best_result else {
|
||||||
return Err(unsupported_errors_32
|
return Err(unsupported_errors_32
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.chain(unsupported_errors_64.into_iter())
|
.chain(unsupported_errors_64)
|
||||||
.chain(invalid_errors_32.into_iter())
|
.chain(invalid_errors_32)
|
||||||
.chain(invalid_errors_64.into_iter())
|
.chain(invalid_errors_64)
|
||||||
.next()
|
.next()
|
||||||
.unwrap());
|
.unwrap());
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue