mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 19:00:46 +00:00
lru: fix mismatched names in comments (#29348)
This commit is contained in:
parent
6f1d1b6688
commit
bc121d3634
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ func (l *list[T]) init() {
|
||||||
l.root.prev = &l.root
|
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]) {
|
func (l *list[T]) pushElem(e *listElem[T]) {
|
||||||
e.prev = &l.root
|
e.prev = &l.root
|
||||||
e.next = l.root.next
|
e.next = l.root.next
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue