mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-12 16:13:57 +02:00
chore: Fix nightly-only clippy lints
This commit is contained in:
parent
baa89586e2
commit
72b78ed6d4
6 changed files with 24 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue