Enable unused_async clippy lint

This commit is contained in:
dasha_uwu
2026-01-10 09:08:48 +05:00
committed by Jason Volk
parent fd519ff7f1
commit d095a4fd3b
20 changed files with 60 additions and 64 deletions

View File

@@ -172,7 +172,6 @@ impl Service {
self.services
.state
.delete_room_shortstatehash(room_id, &state_lock)
.await
.log_err()
.ok();

View File

@@ -526,7 +526,7 @@ pub async fn get_shortstatehash(&self, shorteventid: ShortEventId) -> Result<Sho
}
#[implement(Service)]
pub(super) async fn delete_room_shortstatehash(
pub(super) fn delete_room_shortstatehash(
&self,
room_id: &RoomId,
_mutex_lock: &Guard<OwnedRoomId, ()>,