Merge branch 'master' into xz

This commit is contained in:
Chris Hennick 2024-06-21 23:15:47 -07:00 committed by GitHub
commit 5b749c4ed9
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -785,9 +785,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());
};