Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodus committed Oct 14, 2024
1 parent 1472fe7 commit e581394
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ impl Chain {
self.0.entry(block).or_default().insert(indexer);
}

/// Remove all entries associated with the lowest block number.
fn evict(&mut self) {
let min_block = match self.0.pop_first() {
Some((min_block, _)) => min_block,
Expand Down

0 comments on commit e581394

Please sign in to comment.