diff options
Diffstat (limited to 'src/ui/assets.rs')
| -rw-r--r-- | src/ui/assets.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/assets.rs b/src/ui/assets.rs index 142cdf9..642679b 100644 --- a/src/ui/assets.rs +++ b/src/ui/assets.rs @@ -54,10 +54,9 @@ pub enum Error { impl IntoResponse for Error { fn into_response(self) -> Response { - #[allow(clippy::match_wildcard_for_single_variants)] match self { Self::NotFound(_) => NotFound(self.to_string()).into_response(), - other => Internal::from(other).into_response(), + Self::Mime(_) => Internal::from(self).into_response(), } } } |
