fix new lints; clippy::unnecessary-map-or

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-11-28 23:33:33 +00:00
parent 2a9bb1ce11
commit 58be22e695
9 changed files with 10 additions and 17 deletions

View file

@ -179,7 +179,6 @@ impl Data {
}
/// Returns the full room state.
#[allow(unused_qualifications)] // async traits
pub(super) async fn room_state_full(
&self, room_id: &RoomId,
) -> Result<HashMap<(StateEventType, String), Arc<PduEvent>>> {