Skip to content

Commit

Permalink
style: 🎨 fixed clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
SalOne22 committed Jul 4, 2024
1 parent a49013c commit 6ab37cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ path = "./src/main.rs"
required-features = ["build-binary"]

[features]
default = ["resize", "quantization", "mozjpeg", "oxipng", "webp", "avif","tiff", "threads", "metadata"]
default = ["resize", "quantization", "mozjpeg", "oxipng", "webp", "avif", "tiff", "threads", "metadata"]

# Used for binary
build-binary = ["dep:anyhow", "dep:clap", "dep:indoc", "dep:rayon", "dep:pretty_env_logger", "dep:zune-imageprocs", "dep:glob", "zune-image/default"]
Expand Down
6 changes: 3 additions & 3 deletions src/codecs/tiff/decoder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ where
tiff::decoder::DecodingResult::F32(data) => {
Ok(Image::from_f32(&data, width, height, colorspace))
}
_ => Err(ImageErrors::ImageDecodeErrors(format!(
"Tiff Data format not supported"
))),
_ => Err(ImageErrors::ImageDecodeErrors(
"Tiff Data format not supported".to_string(),
)),
}
}

Expand Down

0 comments on commit 6ab37cb

Please sign in to comment.