Compare commits

...

1 Commits

Author SHA1 Message Date
Thomas Schönauer
80a95cb404 Clippy (#331) 2023-01-29 19:31:37 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -123,7 +123,7 @@ For more information about this issue see https://askubuntu.com/questions/110969
return result; return result;
} }
} }
print_warning(format!("Self update error: {}", e)); print_warning(format!("Self update error: {e}"));
} }
} }
} }

View File

@@ -31,7 +31,7 @@ pub fn self_update() -> Result<()> {
if let UpdateStatus::Updated(release) = &result { if let UpdateStatus::Updated(release) = &result {
println!("\nTopgrade upgraded to {}:\n", release.version); println!("\nTopgrade upgraded to {}:\n", release.version);
if let Some(body) = &release.body { if let Some(body) = &release.body {
println!("{}", body); println!("{body}");
} }
} else { } else {
println!("Topgrade is up-to-date"); println!("Topgrade is up-to-date");