Fix clippy lints for Rust 1.88 🎉
This commit is contained in:
parent
c952ea8485
commit
8578a1362b
8 changed files with 16 additions and 17 deletions
|
|
@ -174,7 +174,7 @@ impl Example {
|
|||
|png_result| match png_result {
|
||||
Ok(path) => format!("Png saved as: {path:?}!"),
|
||||
Err(PngError(error)) => {
|
||||
format!("Png could not be saved due to:\n{}", error)
|
||||
format!("Png could not be saved due to:\n{error}")
|
||||
}
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue