Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
EnnuiL committed Nov 10, 2024
1 parent 8650b6f commit 0f22231
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions apps/labrinth/src/util/img.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,14 @@ fn process_image(
UnsupportedError::from_format_and_kind(
ImageFormat::Gif.into(),
UnsupportedErrorKind::GenericFeature(
"Attempted to process an invalid GIF!".to_owned()
)
)
"Attempted to process an invalid GIF!"
.to_owned()
),
),
))
}
}
},
}
"image/png" => {
let decoder = PngDecoder::new(Cursor::new(image_bytes.clone()))?;
if decoder.is_apng()? {
Expand Down

0 comments on commit 0f22231

Please sign in to comment.