mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 05:14:35 +00:00
Fix Rust 1.88 clippy errors & execution engine tests (#7657)
Fix Rust 1.88 clippy errors.
This commit is contained in:
@@ -342,7 +342,7 @@ impl MonitoredValidator {
|
||||
|
||||
// Prune
|
||||
while summaries.len() > HISTORIC_EPOCHS {
|
||||
if let Some(key) = summaries.iter().map(|(epoch, _)| *epoch).min() {
|
||||
if let Some(key) = summaries.keys().copied().min() {
|
||||
summaries.remove(&key);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user