Skip to content

Commit

Permalink
typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LGFae committed Feb 13, 2024
1 parent 10987c3 commit 60dc938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imgproc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl ImgBuf {
match reader.format() {
Some(ImageFormat::Gif) => true,
Some(ImageFormat::WebP) => {
// Note: unwraping is safe because we already openned the file once before this
// Note: unwrapping is safe because we already opened the file once before this
WebPDecoder::new(BufReader::new(File::open(path).unwrap()))
.map_err(|e| format!("failed to decode Webp Image: {e}"))?
.has_animation()
Expand Down

0 comments on commit 60dc938

Please sign in to comment.