diff --git a/src/write.rs b/src/write.rs index 65f0bd92..35374aa6 100644 --- a/src/write.rs +++ b/src/write.rs @@ -341,7 +341,6 @@ impl ZipWriter { reader.read_to_end(&mut copy)?; drop(reader); self.start_entry(dest_name, options, Some(raw_values))?; - self.inner.switch_to(CompressionMethod::Stored, None)?; self.writing_to_file = true; self.writing_raw = true; Ok(self.write_all(©)?)