Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kylezs committed Oct 30, 2024
1 parent 7b6bce5 commit d0727cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ impl<
monotonic_change_vote.block > previous_block &&
previous_value != monotonic_change_vote.value
}) {
counts.entry(vote.value).or_insert_with(Vec::new).push(vote.block);
counts.entry(vote.value).or_default().push(vote.block);
}

counts.iter().find_map(|(vote, blocks_height)| {
Expand Down

0 comments on commit d0727cf

Please sign in to comment.