fix nightly clippy warning
This commit is contained in:
parent
3d56021052
commit
8f061f882b
1 changed files with 1 additions and 1 deletions
|
@ -790,7 +790,7 @@ impl<W: Write + io::Seek> Drop for ZipWriter<W> {
|
|||
fn drop(&mut self) {
|
||||
if !self.inner.is_closed() {
|
||||
if let Err(e) = self.finalize() {
|
||||
let _ = write!(&mut io::stderr(), "ZipWriter drop failed: {:?}", e);
|
||||
let _ = write!(io::stderr(), "ZipWriter drop failed: {:?}", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue