We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8650b6f commit 0f22231Copy full SHA for 0f22231
apps/labrinth/src/util/img.rs
@@ -143,13 +143,14 @@ fn process_image(
143
UnsupportedError::from_format_and_kind(
144
ImageFormat::Gif.into(),
145
UnsupportedErrorKind::GenericFeature(
146
- "Attempted to process an invalid GIF!".to_owned()
147
- )
148
+ "Attempted to process an invalid GIF!"
+ .to_owned()
+ ),
149
150
))
151
}
152
- },
153
+ }
154
"image/png" => {
155
let decoder = PngDecoder::new(Cursor::new(image_bytes.clone()))?;
156
if decoder.is_apng()? {
0 commit comments