mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
Rust 1.84 lints (#6781)
* Fix few lints * Fix remaining lints * Use fully qualified syntax
This commit is contained in:
@@ -118,7 +118,7 @@ impl<T: ObservableDataSidecar> ObservedDataSidecars<T> {
|
||||
slot: data_sidecar.slot(),
|
||||
proposer: data_sidecar.block_proposer_index(),
|
||||
})
|
||||
.map_or(false, |indices| indices.contains(&data_sidecar.index()));
|
||||
.is_some_and(|indices| indices.contains(&data_sidecar.index()));
|
||||
Ok(is_known)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user