cargo fmt

This commit is contained in:
Alex 2021-12-09 16:19:41 +01:00
parent 87a88931b6
commit 3f2a52dc8e
No known key found for this signature in database
GPG key ID: EDABF9711E244EB1

View file

@ -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);
}
}