From 1e2987c96a3d6feca7fcd223e16e4e405729b874 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 a429157fe50a6..c60f597066050 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