From 3f2a52dc8e7819f6983c7ae68fb5900fe59d14b7 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 9 Dec 2021 16:19:41 +0100 Subject: cargo fmt --- src/https.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/https.rs b/src/https.rs index 148f15a..99900d0 100644 --- a/src/https.rs +++ b/src/https.rs @@ -219,7 +219,11 @@ fn try_compress( Some((mime_type, _params)) => mime_type, None => ct_str, }; - if !https_config.compress_mime_types.iter().any(|x| x == mime_type) { + if !https_config + .compress_mime_types + .iter() + .any(|x| x == mime_type) + { return Ok(response); } } -- cgit v1.2.3