mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-21 05:44:44 +00:00
Rust 1.84 lints (#6781)
* Fix few lints * Fix remaining lints * Use fully qualified syntax
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user