Skip to content

Commit d6516e1

Browse files
apollo_mempool: rename standalone adjective variable (#12546)
1 parent 9c75c41 commit d6516e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/apollo_mempool/src/mempool.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ impl CommitHistory {
6767
}
6868

6969
fn push(&mut self, commit: AddressToNonce) -> AddressToNonce {
70-
let removed = self.commits.pop_front();
70+
let removed_commit = self.commits.pop_front();
7171
self.commits.push_back(commit);
72-
removed.expect("Commit history should be initialized with capacity.")
72+
removed_commit.expect("Commit history should be initialized with capacity.")
7373
}
7474
}
7575

0 commit comments

Comments
 (0)