Rust 1.80.0 lints (#6183)

* Fix lints
This commit is contained in:
Mac L
2024-07-25 19:56:22 +04:00
committed by GitHub
parent 62a39af19e
commit cc55e610b9
25 changed files with 52 additions and 48 deletions

View File

@@ -135,7 +135,7 @@ impl BlockCache {
///
/// - If the cache is not empty and `item.block.block_number - 1` is not already in `self`.
/// - If `item.block.block_number` is in `self`, but is not identical to the supplied
/// `Eth1Snapshot`.
/// `Eth1Snapshot`.
/// - If `item.block.timestamp` is prior to the parent.
pub fn insert_root_or_child(&mut self, block: Eth1Block) -> Result<(), Error> {
let expected_block_number = self