From 8bcb33187c3962b91f999dffe6136e5f22f48ba4 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 7 Nov 2022 21:14:19 +0100 Subject: refactor: fix some Clippy lints regarding format!() --- macros/src/injectable/macro_args.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros/src/injectable') diff --git a/macros/src/injectable/macro_args.rs b/macros/src/injectable/macro_args.rs index 6dd683b..0692b99 100644 --- a/macros/src/injectable/macro_args.rs +++ b/macros/src/injectable/macro_args.rs @@ -68,7 +68,7 @@ impl Parse for InjectableMacroArgs .collect::>(); if let Some(dupe_flag_name) = flag_names.iter().find_duplicate() { - return Err(input.error(format!("Duplicate flag '{}'", dupe_flag_name))); + return Err(input.error(format!("Duplicate flag '{dupe_flag_name}'"))); } Ok(Self { interface, flags }) -- cgit v1.2.3-18-g5258