Rust 1.84 lints (#6781)

* Fix few lints

* Fix remaining lints

* Use fully qualified syntax
This commit is contained in:
Pawan Dhananjay
2025-01-10 06:43:29 +05:30
committed by GitHub
parent 87b72dec21
commit 1f6850fae2
61 changed files with 110 additions and 138 deletions

View File

@@ -3129,7 +3129,7 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
.chain
.slot_clock
.now()
.map_or(false, |current_slot| sync_message_slot == current_slot);
.is_some_and(|current_slot| sync_message_slot == current_slot);
self.propagate_if_timely(is_timely, message_id, peer_id)
}