We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c75c41 commit d6516e1Copy full SHA for d6516e1
crates/apollo_mempool/src/mempool.rs
@@ -67,9 +67,9 @@ impl CommitHistory {
67
}
68
69
fn push(&mut self, commit: AddressToNonce) -> AddressToNonce {
70
- let removed = self.commits.pop_front();
+ let removed_commit = self.commits.pop_front();
71
self.commits.push_back(commit);
72
- removed.expect("Commit history should be initialized with capacity.")
+ removed_commit.expect("Commit history should be initialized with capacity.")
73
74
75
0 commit comments