We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef74baf commit f87964eCopy full SHA for f87964e
cache/lru_cache.go
@@ -18,7 +18,7 @@ var _ Cacher[struct{}, struct{}] = (*LRU[struct{}, struct{}])(nil)
18
type LRU[K comparable, V any] struct {
19
lock sync.Mutex
20
elements linkedhashmap.LinkedHashmap[K, V]
21
- // If set to < 0, will be set internally to 1.
+ // If set to <= 0, will be set internally to 1.
22
Size int
23
}
24
0 commit comments