fix some more pedantic clippy lints

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-23 14:38:15 -04:00 committed by June
parent a7e6fe8b60
commit 7bd56765ef
22 changed files with 136 additions and 126 deletions

View file

@ -52,7 +52,7 @@ impl Services<'_> {
+ sending::Data
+ 'static,
>(
db: &'static D, config: Config,
db: &'static D, config: &Config,
) -> Result<Self> {
Ok(Self {
appservice: appservice::Service::build(db)?,
@ -160,7 +160,7 @@ impl Services<'_> {
db,
url_preview_mutex: RwLock::new(HashMap::new()),
},
sending: sending::Service::build(db, &config),
sending: sending::Service::build(db, config),
globals: globals::Service::load(db, config)?,
})