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