diff options
Diffstat (limited to 'internal/lru/remove.go')
| -rw-r--r-- | internal/lru/remove.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/lru/remove.go b/internal/lru/remove.go index 79735edf..3b1f2c93 100644 --- a/internal/lru/remove.go +++ b/internal/lru/remove.go @@ -3,6 +3,8 @@ package lru import "container/list" // Remove deletes key from the cache. +// +//nolint:ireturn func (cache *Cache[K, V]) Remove(key K) (V, bool) { elem, ok := cache.items[key] if !ok { |
