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
1 changed files with 5 additions and 1 deletions

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