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 9a8efb8..90950da 100644 --- a/src/response.rs +++ b/src/response.rs @@ -98,7 +98,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() } |