mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-18 13:28:33 +00:00
Address Clippy 1.73 lints (#4809)
## Proposed Changes Fix Clippy lints enabled by default in Rust 1.73.0, released today.
This commit is contained in:
@@ -66,7 +66,7 @@ impl CheckpointMap {
|
||||
pub fn insert(&mut self, checkpoint: Checkpoint, eth1_finalization_data: Eth1FinalizationData) {
|
||||
self.store
|
||||
.entry(checkpoint.epoch)
|
||||
.or_insert_with(Vec::new)
|
||||
.or_default()
|
||||
.push((checkpoint.root, eth1_finalization_data));
|
||||
|
||||
// faster to reduce size after the fact than do pre-checking to see
|
||||
|
||||
Reference in New Issue
Block a user