Skip to content

Commit

Permalink
style: cargo fmt --all
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0methean committed Jun 21, 2024
1 parent ad111aa commit 26e6462
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,8 @@ impl<R: Read + Seek> ZipArchive<R> {
Err(e) => invalid_errors.push(e),
Ok(o) => {
if o.files.len() == footer.number_of_files as usize
|| footer.number_of_files == ZIP64_ENTRY_THR as u16 {
|| footer.number_of_files == ZIP64_ENTRY_THR as u16
{
ok_results.push((footer.clone(), o))
} else {
invalid_errors.push(InvalidArchive("wrong number of files"))
Expand Down

0 comments on commit 26e6462

Please sign in to comment.