mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 13:26:28 +03:00
clippy: fix needless_borrow
This commit is contained in:
@@ -269,7 +269,7 @@ impl Oauth2 {
|
||||
.find('@')
|
||||
.map(|index| addr_normalized.split_at(index + 1).1)
|
||||
{
|
||||
if let Some(oauth2_authorizer) = provider::get_provider_info(&domain)
|
||||
if let Some(oauth2_authorizer) = provider::get_provider_info(domain)
|
||||
.await
|
||||
.and_then(|provider| provider.oauth2_authorizer.as_ref())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user