style: cargo fmt --all

This commit is contained in:
Chris Hennick 2024-06-18 20:11:56 -07:00
parent d309f07010
commit a895aa57b1
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -677,11 +677,15 @@ impl<R: Read + Seek> ZipArchive<R> {
let mut unsupported_errors = Vec::new();
let mut ok_results = Vec::new();
let cde_locations = spec::Zip32CentralDirectoryEnd::find_and_parse(reader)?;
cde_locations.into_vec().into_iter().for_each(|(footer, cde_start_pos)| {
cde_locations
.into_vec()
.into_iter()
.for_each(|(footer, cde_start_pos)| {
let zip32_result =
Self::get_directory_info_zip32(&config, reader, &footer, cde_start_pos);
Self::sort_result(
zip32_result.and_then(|result| Self::read_central_header(result, config, reader)),
zip32_result
.and_then(|result| Self::read_central_header(result, config, reader)),
&mut invalid_errors,
&mut unsupported_errors,
&mut ok_results,