From bc121d363435228e6d2ac1889173ece1c67fb40e Mon Sep 17 00:00:00 2001 From: Daniel Liu Date: Tue, 20 Aug 2024 12:29:08 +0800 Subject: [PATCH] lru: fix mismatched names in comments (#29348) --- common/lru/basiclru.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lru/basiclru.go b/common/lru/basiclru.go index a429157fe5..c60f597066 100644 --- a/common/lru/basiclru.go +++ b/common/lru/basiclru.go @@ -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