style: cargo fmt --all
This commit is contained in:
parent
0c7b0080f3
commit
bf7c8d21fb
1 changed files with 5 additions and 3 deletions
|
@ -61,7 +61,7 @@ impl<W> Debug for MaybeEncrypted<W> {
|
||||||
MaybeEncrypted::Unencrypted(_) => "Unencrypted",
|
MaybeEncrypted::Unencrypted(_) => "Unencrypted",
|
||||||
#[cfg(feature = "aes-crypto")]
|
#[cfg(feature = "aes-crypto")]
|
||||||
MaybeEncrypted::Aes(_) => "AES",
|
MaybeEncrypted::Aes(_) => "AES",
|
||||||
MaybeEncrypted::ZipCrypto(_) => "ZipCrypto"
|
MaybeEncrypted::ZipCrypto(_) => "ZipCrypto",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -106,7 +106,9 @@ impl <W: Write + Seek> Debug for GenericZipWriter<W> {
|
||||||
Closed => f.write_str("Closed"),
|
Closed => f.write_str("Closed"),
|
||||||
Storer(w) => f.write_fmt(format_args!("Storer({:?})", w)),
|
Storer(w) => f.write_fmt(format_args!("Storer({:?})", w)),
|
||||||
#[cfg(feature = "deflate-flate2")]
|
#[cfg(feature = "deflate-flate2")]
|
||||||
GenericZipWriter::Deflater(w) => f.write_fmt(format_args!("Deflater({:?})", w.get_ref())),
|
GenericZipWriter::Deflater(w) => {
|
||||||
|
f.write_fmt(format_args!("Deflater({:?})", w.get_ref()))
|
||||||
|
}
|
||||||
#[cfg(feature = "deflate-zopfli")]
|
#[cfg(feature = "deflate-zopfli")]
|
||||||
GenericZipWriter::ZopfliDeflater(_) => f.write_str("ZopfliDeflater"),
|
GenericZipWriter::ZopfliDeflater(_) => f.write_str("ZopfliDeflater"),
|
||||||
#[cfg(feature = "deflate-zopfli")]
|
#[cfg(feature = "deflate-zopfli")]
|
||||||
|
|
Loading…
Add table
Reference in a new issue