Enable unused_async clippy lint

This commit is contained in:
dasha_uwu authored and Jason Volk committed 2026-01-13 07:42:43 +00:00
1 parent fd519ff7f1
commit d095a4fd3b
20 files changed
+60 -64

No files matched your search

+1 -5
View File
@@ -149,11 +149,7 @@ pub async fn try_auth(
uiaainfo.completed.push(AuthType::Password);
},
| AuthData::RegistrationToken(t) => {
let tokens = self
.services
.globals
.get_registration_tokens()
.await;
let tokens = self.services.globals.get_registration_tokens();
if tokens.contains(t.token.trim()) {
uiaainfo
.completed