From a41c92d164145da2a50f908a1864740ec9b6eb06 Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Thu, 4 May 2023 10:48:21 -0700 Subject: [PATCH] Refactor: don't need to be mutable during prepare_next_writer --- src/write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/write.rs b/src/write.rs index cd7aef7d..f8af1844 100644 --- a/src/write.rs +++ b/src/write.rs @@ -989,7 +989,7 @@ impl Drop for ZipWriter { impl GenericZipWriter { fn prepare_next_writer( - &mut self, + &self, compression: CompressionMethod, compression_level: Option, ) -> ZipResult GenericZipWriter>> {