Use let .. = &mut
instead of let ref mut .. =
This commit is contained in:
parent
d50dcaced7
commit
07caeca6ea
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ impl<R: Read + io::Seek> ZipArchive<R> {
|
||||||
if file_number >= self.files.len() {
|
if file_number >= self.files.len() {
|
||||||
return Err(ZipError::FileNotFound);
|
return Err(ZipError::FileNotFound);
|
||||||
}
|
}
|
||||||
let ref mut data = self.files[file_number];
|
let data = &mut self.files[file_number];
|
||||||
|
|
||||||
if password == None {
|
if password == None {
|
||||||
if data.encrypted {
|
if data.encrypted {
|
||||||
|
|
Loading…
Add table
Reference in a new issue