enable uninlined_format_args lint

This commit is contained in:
Charles Hall 2024-05-14 19:19:54 -07:00
parent baab928281
commit 86218f4771
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
3 changed files with 3 additions and 2 deletions

View file

@ -11,7 +11,7 @@ fn version() -> String {
let cargo_pkg_version = env!("CARGO_PKG_VERSION");
match option_env!("GRAPEVINE_VERSION_EXTRA") {
Some(x) => format!("{} ({})", cargo_pkg_version, x),
Some(x) => format!("{cargo_pkg_version} ({x})"),
None => cargo_pkg_version.to_owned(),
}
}