Skip to content

Commit

Permalink
lru: fix mismatched names in comments (ethereum#29348)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan committed Aug 20, 2024
1 parent 1b2d023 commit 4300833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/lru/basiclru.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func (l *list[T]) init() {
l.root.prev = &l.root
}

// push adds an element to the front of the list.
// pushElem adds an element to the front of the list.
func (l *list[T]) pushElem(e *listElem[T]) {
e.prev = &l.root
e.next = l.root.next
Expand Down

0 comments on commit 4300833

Please sign in to comment.