From 8f061f882b58f90fbe1a87440620c5b0b9cb7c9c Mon Sep 17 00:00:00 2001 From: Lireer Date: Sun, 30 Jan 2022 15:26:34 +0100 Subject: [PATCH] fix nightly clippy warning --- src/write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } }