style: cargo fmt --all

This commit is contained in:
Chris Hennick 2024-05-27 17:20:46 -07:00
parent 0c7b0080f3
commit bf7c8d21fb
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -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")]