diff --git a/src/read.rs b/src/read.rs index 75d1ec42..90d90ecf 100644 --- a/src/read.rs +++ b/src/read.rs @@ -394,7 +394,7 @@ impl ZipArchive { if file_number >= self.files.len() { return Err(ZipError::FileNotFound); } - let ref mut data = self.files[file_number]; + let data = &mut self.files[file_number]; if password == None { if data.encrypted {