chore: Clippy fixes

This commit is contained in:
Ginger committed 2026-11-20 10:48:04 -05:00
1 parent 6f6e8c4eb5
commit a4ef1ecfa2
24 files changed
+32 -82

No files matched your search

+1 -2
View File
@@ -787,8 +787,7 @@ async fn build_room_summary(
Ok(Some(assign!(RoomSummary::new(), {
heroes: heroes
.map(|heroes| heroes.into_iter().collect())
.unwrap_or_default(),
.map_or_default(|heroes| heroes.into_iter().collect()),
joined_member_count: Some(ruma_from_u64(joined_member_count)),
invited_member_count: Some(ruma_from_u64(invited_member_count)),
})))