From 072e5d9db1549e22d66d9a16235a4200a5092aab Mon Sep 17 00:00:00 2001 From: fukusuket <41001169+fukusuket@users.noreply.github.com> Date: Tue, 30 Apr 2024 00:53:25 +0900 Subject: [PATCH] fix: cargo fmt --- src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 5e1ca5423..c89277f95 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1439,8 +1439,7 @@ impl App { ); println!("{evtx_files_after_channel_filter}"); } - if !stored_static.enable_all_rules - { + if !stored_static.enable_all_rules { rule_files.retain(|r| channel_filter.rulepathes.contains(&r.rulepath)); let rules_after_channel_filter = format!( "Detection rules loaded after channel filter: {}", @@ -3137,4 +3136,4 @@ mod tests { assert_eq!(actual.1, 2); assert_eq!(actual.4.len(), 0); } -} \ No newline at end of file +}