From ade010b6e0f6ed316587a3c7a954fea3cc5dee54 Mon Sep 17 00:00:00 2001 From: DustInDark Date: Fri, 24 Jun 2022 23:20:26 +0900 Subject: [PATCH] cargo fmt --- src/yaml.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/yaml.rs b/src/yaml.rs index 1713dbd6..7e35c545 100644 --- a/src/yaml.rs +++ b/src/yaml.rs @@ -233,7 +233,10 @@ impl ParseYaml { }; let entry = self.rule_load_cnt.entry(entry_key.to_string()).or_insert(0); *entry += 1; - if entry_key == "excluded" || (entry_key == "noisy" && !configs::CONFIG.read().unwrap().args.enable_noisy_rules ) { + if entry_key == "excluded" + || (entry_key == "noisy" + && !configs::CONFIG.read().unwrap().args.enable_noisy_rules) + { return Option::None; } }