Don't need Read for shallow copy
This commit is contained in:
parent
85689cd2e6
commit
9330bdb7b7
1 changed files with 0 additions and 2 deletions
|
@ -839,9 +839,7 @@ impl<W: Write + Seek> ZipWriter<W> {
|
|||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
impl <RW: Read + Write + Seek> ZipWriter<RW> {
|
||||
fn data_by_name(&mut self, name: &str) -> ZipResult<&ZipFileData> {
|
||||
self.finish_file()?;
|
||||
for file in self.files.iter() {
|
||||
|
|
Loading…
Add table
Reference in a new issue