mirror of
https://github.com/chatmail/core.git
synced 2026-05-22 16:26:31 +03:00
Remove outdated comment
This commit is contained in:
@@ -175,8 +175,6 @@ pub async fn get_provider_by_mx(context: &Context, domain: &str) -> Option<&'sta
|
|||||||
None
|
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> {
|
pub fn get_provider_by_id(id: &str) -> Option<&'static Provider> {
|
||||||
if let Some(provider) = PROVIDER_IDS.get(id) {
|
if let Some(provider) = PROVIDER_IDS.get(id) {
|
||||||
Some(provider)
|
Some(provider)
|
||||||
|
|||||||
Reference in New Issue
Block a user