Skip to content

Commit

Permalink
question mark operator is useless here
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeWaka committed Mar 18, 2021
1 parent e03fe4e commit 01272c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dmi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ byond_fn! { dmi_resize_png(path, width, height, resizetype) {

fn strip_metadata(path: &str) -> Result<()> {
let (info, image) = read_png(path)?;
Ok(write_png(path, info, image)?)
Ok(write_png(path, info, image))
}

fn read_png(path: &str) -> Result<(OutputInfo, Vec<u8>)> {
Expand Down

0 comments on commit 01272c5

Please sign in to comment.