mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 04:37:13 +00:00
Rust 1.84 lints (#6781)
* Fix few lints * Fix remaining lints * Use fully qualified syntax
This commit is contained in:
@@ -1278,7 +1278,7 @@ impl ApiTester {
|
||||
.chain
|
||||
.block_root_at_slot(block.slot(), WhenSlotSkipped::None)
|
||||
.unwrap()
|
||||
.map_or(false, |canonical| block_root == canonical);
|
||||
.is_some_and(|canonical| block_root == canonical);
|
||||
|
||||
assert_eq!(result.canonical, canonical, "{:?}", block_id);
|
||||
assert_eq!(result.root, block_root, "{:?}", block_id);
|
||||
|
||||
Reference in New Issue
Block a user