state-res: Silence buggy clippy lint
This commit is contained in:
parent
a887dd7387
commit
de2b415020
@ -427,6 +427,7 @@ fn iterative_auth_check<E: Event + Clone>(
|
|||||||
|
|
||||||
debug!("event to check {:?}", event.event_id());
|
debug!("event to check {:?}", event.event_id());
|
||||||
|
|
||||||
|
#[allow(clippy::redundant_closure)]
|
||||||
let most_recent_prev_event =
|
let most_recent_prev_event =
|
||||||
event.prev_events().filter_map(|id| fetch_event(id)).next_back();
|
event.prev_events().filter_map(|id| fetch_event(id)).next_back();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user