mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
style: Resolve clippy warnings in database and service
This commit is contained in:
2 files changed
+4
-7
No files matched your search
@@ -459,21 +459,18 @@ impl Service {
|
||||
push_key.to_owned(),
|
||||
))
|
||||
.await;
|
||||
|
||||
Ok(())
|
||||
},
|
||||
| (Some(appservice_id), None, None) => {
|
||||
self.db
|
||||
.delete_all_requests_for(&Destination::Appservice(appservice_id.to_owned()))
|
||||
.await;
|
||||
|
||||
Ok(())
|
||||
},
|
||||
| _ => {
|
||||
debug_warn!("cleanup_events called with too many or too few arguments");
|
||||
Ok(())
|
||||
},
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn dispatch(&self, msg: Msg) -> Result {
|
||||
|
||||
Reference in new issue
Block a user