Skip to content

Commit

Permalink
Clippy.. stop being mean
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmeow committed Dec 23, 2023
1 parent 7efca88 commit f4c5dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iconforge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ fn transform_image(image_in: DynamicImage, icon: &IconObject, sprite_name: &Stri
}
let mut color2: [u8; 4] = [0, 0, 0, 255];
if let Err(err) = hex::decode_to_slice(hex, &mut color2) {
error.push(format!("Decoding hex color {} failed: {}", color, err.to_string()));
error.push(format!("Decoding hex color {} failed: {}", color, err));
}
for x in 0..image.width() {
for y in 0..image.height() {
Expand Down

0 comments on commit f4c5dd3

Please sign in to comment.