chore: apply formatting
This commit is contained in:
parent
e123567862
commit
a43661c197
1 changed files with 5 additions and 5 deletions
10
src/write.rs
10
src/write.rs
|
@ -421,11 +421,11 @@ impl<W: Write + io::Seek> GenericZipWriter<W> {
|
|||
#[allow(deprecated)]
|
||||
match compression {
|
||||
CompressionMethod::Stored => GenericZipWriter::Storer(bare),
|
||||
#[cfg(any(
|
||||
feature = "deflate",
|
||||
feature = "deflate-miniz",
|
||||
feature = "deflate-zlib"
|
||||
))]
|
||||
#[cfg(any(
|
||||
feature = "deflate",
|
||||
feature = "deflate-miniz",
|
||||
feature = "deflate-zlib"
|
||||
))]
|
||||
CompressionMethod::Deflated => GenericZipWriter::Deflater(DeflateEncoder::new(
|
||||
bare,
|
||||
flate2::Compression::default(),
|
||||
|
|
Loading…
Add table
Reference in a new issue