cargo clippy --fix

main
Elnu 1 year ago
parent 2c72d5fc15
commit f6775da3d0

@ -27,6 +27,6 @@ fn main() -> dyesub::Result<()> {
path.set_extension("svg"); path.set_extension("svg");
path path
}); });
dyesub::render_file(&args.input, &output)?; dyesub::render_file(&args.input, output)?;
Ok(()) Ok(())
} }

@ -18,7 +18,7 @@ impl From<Box<dyn Error>> for ResultMessageData {
message: value message: value
.source() .source()
.map(|source| source.to_string()) .map(|source| source.to_string())
.unwrap_or_else(|| "".to_string()), .unwrap_or_default(),
colorway: Colorway::Bad, colorway: Colorway::Bad,
} }
} }

Loading…
Cancel
Save