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

@@ -1450,7 +1450,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
/// Returns the `BeaconState` the current slot (viz., `self.slot()`).
///
/// - A reference to the head state (note: this keeps a read lock on the head, try to use
/// sparingly).
/// sparingly).
/// - The head state, but with skipped slots (for states later than the head).
///
/// Returns `None` when there is an error skipping to a future state or the slot clock cannot