This commit is contained in:
Chris Hennick 2023-05-10 13:04:54 -07:00
parent 7c39dbd4c2
commit ab302b20b7
No known key found for this signature in database
GPG key ID: 25653935CC8B6C74

View file

@ -519,7 +519,7 @@ impl<W: Write + Seek> ZipWriter<W> {
self.inner = Storer(MaybeEncrypted::Unencrypted(writer.finish(crc32)?)) self.inner = Storer(MaybeEncrypted::Unencrypted(writer.finish(crc32)?))
} }
Storer(w) => self.inner = Storer(w), Storer(w) => self.inner = Storer(w),
_ => unreachable!() _ => unreachable!(),
} }
let writer = self.inner.get_plain(); let writer = self.inner.get_plain();