diff options
author | HampusM <hampus@hampusmat.com> | 2022-11-07 21:14:19 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-11-07 21:14:39 +0100 |
commit | 8bcb33187c3962b91f999dffe6136e5f22f48ba4 (patch) | |
tree | 212512036d451abde663ee8d5c74d82550e6344c /macros/src/injectable/macro_args.rs | |
parent | 7faf124c8c5a7d7e8df0a504a3243614d00e82cf (diff) |
refactor: fix some Clippy lints regarding format!()
Diffstat (limited to 'macros/src/injectable/macro_args.rs')
-rw-r--r-- | macros/src/injectable/macro_args.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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::<Vec<_>>(); 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 }) |