state-res: Remove unnecessary allow attribute

This commit is contained in:
Jonas Platte 2021-12-22 17:45:50 +01:00
parent f161c8117c
commit 6abfe3ff70
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -452,7 +452,6 @@ fn iterative_auth_check<E: Event + Clone>(
debug!("event to check {:?}", event.event_id());
#[allow(clippy::redundant_closure)]
let most_recent_prev_event =
event.prev_events().filter_map(|id| fetch_event(id.borrow())).next_back();