style: Fix a Clippy warning
This commit is contained in:
parent
5b285d7cbf
commit
58b982c99e
1 changed files with 1 additions and 1 deletions
|
@ -973,7 +973,7 @@ impl<W: Write + Seek> ZipWriter<W> {
|
|||
}
|
||||
if let Some(data) = central_extra_data {
|
||||
let validation_result =
|
||||
ExtendedFileOptions::validate_extra_data(&data, extra_data_end - zip64_start);
|
||||
ExtendedFileOptions::validate_extra_data(data, extra_data_end - zip64_start);
|
||||
if let Err(e) = validation_result {
|
||||
let _ = self.abort_file();
|
||||
return Err(e);
|
||||
|
|
Loading…
Add table
Reference in a new issue