Apply formatter fixes

This commit is contained in:
Jack Fletcher 2022-01-30 20:39:43 +00:00
parent 083d95bcd1
commit b444664d71

View file

@ -132,17 +132,17 @@ impl fmt::Display for CompressionMethod {
/// The compression methods which have been implemented. /// The compression methods which have been implemented.
pub const SUPPORTED_COMPRESSION_METHODS: &[CompressionMethod] = &[ pub const SUPPORTED_COMPRESSION_METHODS: &[CompressionMethod] = &[
CompressionMethod::Stored, CompressionMethod::Stored,
#[cfg(any( #[cfg(any(
feature = "deflate", feature = "deflate",
feature = "deflate-miniz", feature = "deflate-miniz",
feature = "deflate-zlib" feature = "deflate-zlib"
))] ))]
CompressionMethod::Deflated, CompressionMethod::Deflated,
#[cfg(feature = "bzip2")] #[cfg(feature = "bzip2")]
CompressionMethod::Bzip2, CompressionMethod::Bzip2,
#[cfg(feature = "zstd")] #[cfg(feature = "zstd")]
CompressionMethod::Zstd, CompressionMethod::Zstd,
]; ];
#[cfg(test)] #[cfg(test)]