From df96c752aca190b0939862cd99781bf5441daa0a Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Mon, 5 Aug 2024 09:53:02 +0200 Subject: [PATCH] style: fix clippy warning --- cli/src/commands/scan.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/commands/scan.rs b/cli/src/commands/scan.rs index 6a0c27265..77d1f94b6 100644 --- a/cli/src/commands/scan.rs +++ b/cli/src/commands/scan.rs @@ -507,7 +507,7 @@ fn print_rules_as_text( if print_tags && !tags.is_empty() { line.push_str(" ["); for (pos, tag) in tags.with_position() { - line.push_str(&format!("{}", tag.identifier())); + line.push_str(tag.identifier()); if !matches!(pos, itertools::Position::Last) { line.push(','); }