diff --git a/src/write.rs b/src/write.rs index 6a3403fb..a3aa0e0a 100644 --- a/src/write.rs +++ b/src/write.rs @@ -790,7 +790,7 @@ impl Drop for ZipWriter { 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); } } }