fix nightly clippy warning

This commit is contained in:
Lireer 2022-01-30 15:26:34 +01:00
parent 3d56021052
commit 8f061f882b

View file

@ -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);
}
}
}