From b444664d71a33e519cdc7450343ef24b9dfa6b52 Mon Sep 17 00:00:00 2001 From: Jack Fletcher Date: Sun, 30 Jan 2022 20:39:43 +0000 Subject: [PATCH] Apply formatter fixes --- src/compression.rs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/compression.rs b/src/compression.rs index 1729deb5..8b351478 100644 --- a/src/compression.rs +++ b/src/compression.rs @@ -132,17 +132,17 @@ impl fmt::Display for CompressionMethod { /// The compression methods which have been implemented. pub const SUPPORTED_COMPRESSION_METHODS: &[CompressionMethod] = &[ - CompressionMethod::Stored, - #[cfg(any( - feature = "deflate", - feature = "deflate-miniz", - feature = "deflate-zlib" - ))] - CompressionMethod::Deflated, - #[cfg(feature = "bzip2")] - CompressionMethod::Bzip2, - #[cfg(feature = "zstd")] - CompressionMethod::Zstd, + CompressionMethod::Stored, + #[cfg(any( + feature = "deflate", + feature = "deflate-miniz", + feature = "deflate-zlib" + ))] + CompressionMethod::Deflated, + #[cfg(feature = "bzip2")] + CompressionMethod::Bzip2, + #[cfg(feature = "zstd")] + CompressionMethod::Zstd, ]; #[cfg(test)]