Skip to content

Commit 0f22231

Browse files
committed
Fix linting
1 parent 8650b6f commit 0f22231

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

apps/labrinth/src/util/img.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,14 @@ fn process_image(
143143
UnsupportedError::from_format_and_kind(
144144
ImageFormat::Gif.into(),
145145
UnsupportedErrorKind::GenericFeature(
146-
"Attempted to process an invalid GIF!".to_owned()
147-
)
148-
)
146+
"Attempted to process an invalid GIF!"
147+
.to_owned()
148+
),
149+
),
149150
))
150151
}
151152
}
152-
},
153+
}
153154
"image/png" => {
154155
let decoder = PngDecoder::new(Cursor::new(image_bytes.clone()))?;
155156
if decoder.is_apng()? {

0 commit comments

Comments
 (0)