From bb702a9342c536386663b2631060a857fbe2239a Mon Sep 17 00:00:00 2001 From: link2xt Date: Mon, 13 Feb 2023 10:20:41 +0000 Subject: [PATCH] Remove outdated comment --- src/provider.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/provider.rs b/src/provider.rs index 5d81b642b..01153f4c2 100644 --- a/src/provider.rs +++ b/src/provider.rs @@ -175,8 +175,6 @@ pub async fn get_provider_by_mx(context: &Context, domain: &str) -> Option<&'sta None } -// TODO: uncomment when clippy starts complaining about it -//#[allow(clippy::manual_map)] // Can't use .map() because the lifetime is not propagated pub fn get_provider_by_id(id: &str) -> Option<&'static Provider> { if let Some(provider) = PROVIDER_IDS.get(id) { Some(provider)