chore: Clippy fixes

This commit is contained in:
Ginger committed 2026-04-28 09:16:56 -04:00
1 parent e185f56f3a
commit e70004c98f
53 files changed
+110 -118

No files matched your search

+1
View File
@@ -39,6 +39,7 @@ struct Services {
typing: Dep<rooms::typing::Service>,
}
#[allow(unused, reason = "TODO refactor")]
struct SlidingSyncCache {
lists: BTreeMap<String, v5::request::List>,
subscriptions: BTreeMap<OwnedRoomId, v5::request::RoomSubscription>,
+1 -1
View File
@@ -64,7 +64,7 @@ pub async fn watch(&self, user_id: &UserId, device_id: &DeviceId) -> Result {
futures.push(self.db.pduid_pdu.watch_prefix(&short_roomid));
// EDUs
let typing_room_id = room_id.to_owned();
let typing_room_id = room_id.clone();
let typing_wait_for_update = async move {
self.services.typing.wait_for_update(&typing_room_id).await;
};