mirror of
https://github.com/chatmail/core.git
synced 2026-04-21 15:36:30 +03:00
clippy: fix needless_borrow
This commit is contained in:
@@ -450,7 +450,7 @@ async fn get_autoconfig(
|
||||
"https://autoconfig.{}/mail/config-v1.1.xml?emailaddress={}",
|
||||
param_domain, param_addr_urlencoded
|
||||
),
|
||||
¶m,
|
||||
param,
|
||||
)
|
||||
.await
|
||||
{
|
||||
@@ -465,7 +465,7 @@ async fn get_autoconfig(
|
||||
"https://{}/.well-known/autoconfig/mail/config-v1.1.xml?emailaddress={}",
|
||||
¶m_domain, ¶m_addr_urlencoded
|
||||
),
|
||||
¶m,
|
||||
param,
|
||||
)
|
||||
.await
|
||||
{
|
||||
@@ -501,7 +501,7 @@ async fn get_autoconfig(
|
||||
if let Ok(res) = moz_autoconfigure(
|
||||
ctx,
|
||||
format!("https://autoconfig.thunderbird.net/v1.1/{}", ¶m_domain),
|
||||
¶m,
|
||||
param,
|
||||
)
|
||||
.await
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user