chore: Clippy fixes

This commit is contained in:
Ginger
2026-02-13 08:55:49 -05:00
committed by Ellis Git
parent 047eba0442
commit ea3c00da43
5 changed files with 4 additions and 7 deletions
+1 -3
View File
@@ -30,7 +30,7 @@ use ruma::{
use serde::{Deserialize, Serialize};
use serde_json::json;
use crate::{Dep, account_data, admin, appservice, firstrun, globals, rooms};
use crate::{Dep, account_data, admin, appservice, globals, rooms};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct UserSuspension {
@@ -55,7 +55,6 @@ struct Services {
globals: Dep<globals::Service>,
state_accessor: Dep<rooms::state_accessor::Service>,
state_cache: Dep<rooms::state_cache::Service>,
firstrun: Dep<firstrun::Service>,
}
struct Data {
@@ -97,7 +96,6 @@ impl crate::Service for Service {
state_accessor: args
.depend::<rooms::state_accessor::Service>("rooms::state_accessor"),
state_cache: args.depend::<rooms::state_cache::Service>("rooms::state_cache"),
firstrun: args.depend::<firstrun::Service>("firstrun"),
},
db: Data {
keychangeid_userid: args.db["keychangeid_userid"].clone(),