chore: nightly clippy fixes

This commit is contained in:
link2xt
2023-07-10 01:43:34 +00:00
committed by holger krekel
parent d2b15cb629
commit 31e3169433
11 changed files with 38 additions and 37 deletions

View File

@@ -223,7 +223,7 @@ pub async fn get_provider_by_mx(context: &Context, domain: &str) -> Option<&'sta
}
if let Ok(mx_domains) = resolver.mx_lookup(fqdn).await {
for (provider_domain, provider) in PROVIDER_DATA.iter() {
for (provider_domain, provider) in &*PROVIDER_DATA {
if provider.id != "gmail" {
// MX lookup is limited to Gmail for security reasons
continue;