mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Rust 1.84 lints (#6781)
* Fix few lints * Fix remaining lints * Use fully qualified syntax
This commit is contained in:
@@ -145,7 +145,7 @@ impl<E: EthSpec> EarlyAttesterCache<E> {
|
||||
self.item
|
||||
.read()
|
||||
.as_ref()
|
||||
.map_or(false, |item| item.beacon_block_root == block_root)
|
||||
.is_some_and(|item| item.beacon_block_root == block_root)
|
||||
}
|
||||
|
||||
/// Returns the block, if `block_root` matches the cached item.
|
||||
|
||||
Reference in New Issue
Block a user