From 6abfe3ff70363aafe30764d25f49e6829360d3b9 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 22 Dec 2021 17:45:50 +0100 Subject: [PATCH] state-res: Remove unnecessary allow attribute --- crates/ruma-state-res/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/ruma-state-res/src/lib.rs b/crates/ruma-state-res/src/lib.rs index c7882302..b551ab4e 100644 --- a/crates/ruma-state-res/src/lib.rs +++ b/crates/ruma-state-res/src/lib.rs @@ -452,7 +452,6 @@ fn iterative_auth_check( 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();