style: rustfmt add_to_allowlist

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Razvan Dimescu
2026-04-10 21:33:38 +03:00
parent ec44829c30
commit e5c6caba1f

View File

@@ -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 {