Skip to content

Commit

Permalink
fix(codecs): fixed clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SalOne22 committed Apr 11, 2024
1 parent ede4784 commit 7f3c261
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/codecs/avif/decoder/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use super::*;
fn decode() {
let file_content = File::open("tests/files/avif/f1t.avif").unwrap();

let mut decoder = AvifDecoder::try_new(file_content).unwrap();
let decoder = AvifDecoder::try_new(file_content).unwrap();

let img = Image::from_decoder(decoder).unwrap();

Expand Down
2 changes: 1 addition & 1 deletion src/codecs/webp/decoder/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use super::*;
fn decode() {
let file_content = File::open("tests/files/webp/f1t.webp").unwrap();

let mut decoder = WebPDecoder::try_new(file_content).unwrap();
let decoder = WebPDecoder::try_new(file_content).unwrap();

let img = Image::from_decoder(decoder).unwrap();

Expand Down

0 comments on commit 7f3c261

Please sign in to comment.