build: update to Rust 1.72.0

This commit is contained in:
link2xt
2023-08-25 21:21:04 +00:00
parent 2635146328
commit 87ffcaf03e
12 changed files with 34 additions and 34 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;