From 9330bdb7b7e044e36c7f20e2c0f536a6350ebbe2 Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Sun, 23 Apr 2023 15:09:22 -0700 Subject: [PATCH] Don't need Read for shallow copy --- src/write.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/write.rs b/src/write.rs index fa06bf17..f91bd946 100644 --- a/src/write.rs +++ b/src/write.rs @@ -839,9 +839,7 @@ impl ZipWriter { Ok(()) } -} -impl ZipWriter { fn data_by_name(&mut self, name: &str) -> ZipResult<&ZipFileData> { self.finish_file()?; for file in self.files.iter() {