diff options
Diffstat (limited to 'src/response.rs')
| -rw-r--r-- | src/response.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/response.rs b/src/response.rs index 797ce2a..853bfec 100644 --- a/src/response.rs +++ b/src/response.rs @@ -97,7 +97,7 @@ impl Response { #[must_use] pub fn binary_success_auto(content: &[u8]) -> Self { Self::new(22, String::from_utf8_lossy(content)) - .with_mime(&tree_magic::from_u8(content)) + .with_mime(tree_magic::from_u8(content)) .clone() } |