diff --git a/src/read.rs b/src/read.rs index a71318ad..3e6723c9 100644 --- a/src/read.rs +++ b/src/read.rs @@ -648,7 +648,7 @@ impl ZipArchive { cde_start_pos: u64, ) -> ZipResult { // Check if file has a zip64 footer - let mut results = Self::get_directory_info_zip64(&config, reader, footer, cde_start_pos) + let results = Self::get_directory_info_zip64(&config, reader, footer, cde_start_pos) .unwrap_or_else(|e| vec![Err(e)]); let mut invalid_errors = Vec::new(); let mut unsupported_errors = Vec::new(); @@ -725,9 +725,9 @@ impl ZipArchive { fn sort_result( result: Result, - mut invalid_errors: &mut Vec, - mut unsupported_errors: &mut Vec, - mut ok_results: &mut Vec, + invalid_errors: &mut Vec, + unsupported_errors: &mut Vec, + ok_results: &mut Vec, ) { match result { Err(ZipError::UnsupportedArchive(e)) => {