From e5c6caba1fde6eb03e11d89d631a8e87c006534b Mon Sep 17 00:00:00 2001 From: Razvan Dimescu Date: Fri, 10 Apr 2026 21:33:38 +0300 Subject: [PATCH] style: rustfmt add_to_allowlist Co-Authored-By: Claude Opus 4.6 --- src/blocklist.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/blocklist.rs b/src/blocklist.rs index dbbbea6..8ba2fe7 100644 --- a/src/blocklist.rs +++ b/src/blocklist.rs @@ -175,8 +175,7 @@ impl BlocklistStore { pub fn add_to_allowlist(&mut self, domain: &str) { let d = domain.to_lowercase(); - self.allowlist - .insert(d.trim_end_matches('.').to_string()); + self.allowlist.insert(d.trim_end_matches('.').to_string()); } pub fn remove_from_allowlist(&mut self, domain: &str) -> bool {