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>> {