chore: Fix nightly-only clippy lints

This commit is contained in:
Jade Ellis
2025-09-10 17:32:28 +01:00
parent baa89586e2
commit 72b78ed6d4
6 changed files with 24 additions and 33 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ pub(crate) async fn get_context_route(
let state_at = events_after
.last()
.map(ref_at!(1))
.map_or(body.event_id.as_ref(), |pdu| pdu.event_id.as_ref());
.map_or_else(|| body.event_id.as_ref(), |pdu| pdu.event_id.as_ref());
let state_ids = services
.rooms