From 10570273cb02e189b20319096632ed01c76e762e Mon Sep 17 00:00:00 2001 From: Bart Waardenburg Date: Sun, 12 Jul 2026 19:45:04 +0200 Subject: [PATCH] style(cli): wrap is_file_level_only matches! arm over rustfmt width Follow-up to #1820: the added "unused-file" token pushed the matches! line over the rustfmt width; the contributor's fork disallows maintainer edits, so the wrap lands as this immediate follow-up. --- crates/cli/src/report/human/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/cli/src/report/human/mod.rs b/crates/cli/src/report/human/mod.rs index 39c3246df..064151c57 100644 --- a/crates/cli/src/report/human/mod.rs +++ b/crates/cli/src/report/human/mod.rs @@ -289,7 +289,10 @@ fn section_suppress_rule(title: &str) -> Option<&'static str> { /// Rules that only support file-level suppression (not next-line). fn is_file_level_only(rule: &str) -> bool { - matches!(rule, "circular-dependencies" | "boundary-violation" | "unused-file") + matches!( + rule, + "circular-dependencies" | "boundary-violation" | "unused-file" + ) } /// Rules whose findings live in YAML files (so the suppression comment must