mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 10:22:38 +00:00
Rust 1.86.0 lints (#7254)
Implement lints for the new Rust compiler version 1.86.0.
This commit is contained in:
@@ -760,7 +760,7 @@ impl ProtoArray {
|
||||
///
|
||||
/// - The child is already the best child but it's now invalid due to a FFG change and should be removed.
|
||||
/// - The child is already the best child and the parent is updated with the new
|
||||
/// best-descendant.
|
||||
/// best-descendant.
|
||||
/// - The child is not the best child but becomes the best child.
|
||||
/// - The child is not the best child and does not become the best child.
|
||||
fn maybe_update_best_child_and_descendant<E: EthSpec>(
|
||||
|
||||
@@ -1121,7 +1121,7 @@ mod test_compute_deltas {
|
||||
///
|
||||
/// - `A` (slot 31) is the common descendant.
|
||||
/// - `B` (slot 33) descends from `A`, but there is a single skip slot
|
||||
/// between it and `A`.
|
||||
/// between it and `A`.
|
||||
/// - `C` (slot 32) descends from `A` and conflicts with `B`.
|
||||
///
|
||||
/// Imagine that the `B` chain is finalized at epoch 1. This means that the
|
||||
|
||||
Reference in New Issue
Block a user