chore: Clippy fixes

This commit is contained in:
Ginger
2026-04-13 18:02:25 -04:00
parent a0524a9566
commit 9899632b8b
3 changed files with 2 additions and 10 deletions
-1
View File
@@ -17,7 +17,6 @@ use crate::{State, router::auth::CheckAuth, service::appservice::RegistrationInf
/// Query parameters needed to authenticate requests
#[derive(Deserialize)]
pub(super) struct AuthQueryParams {
pub(super) access_token: Option<String>,
pub(super) user_id: Option<String>,
/// Device ID for appservice device masquerading (MSC3202/MSC4190).
/// Can be provided as `device_id` or `org.matrix.msc3202.device_id`.
-7
View File
@@ -19,13 +19,6 @@ use service::{
use crate::{router::args::AuthQueryParams, service::appservice::RegistrationInfo};
enum Token {
Appservice(Box<RegistrationInfo>),
User((OwnedUserId, OwnedDeviceId)),
Invalid,
None,
}
#[derive(Default)]
pub(super) struct Auth {
pub(super) origin: Option<OwnedServerName>,