Skip to content

Commit

Permalink
Fix Rust 1.71.0 warnings (#4348)
Browse files Browse the repository at this point in the history
## Issue Addressed

The Rust 1.70 release is imminent, so CI is using 1.71 for the Beta compiler, which is failing with a warning.
  • Loading branch information
michaelsproul committed May 30, 2023
1 parent a7da331 commit baad729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon_node/lighthouse_network/src/peer_manager/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ impl<TSpec: EthSpec> PeerManager<TSpec> {
);
}

let mut score_peers: &mut (f64, usize) = avg_score_per_client
let score_peers: &mut (f64, usize) = avg_score_per_client
.entry(peer_info.client().kind.to_string())
.or_default();
score_peers.0 += peer_info.score().score();
Expand Down

0 comments on commit baad729

Please sign in to comment.