Skip to content

Commit f87964e

Browse files
anusha-ctrldhrubabasuStephenButtolph
authored
Fix LRU documentation comment (#2036)
Co-authored-by: Dhruba Basu <7675102+dhrubabasu@users.noreply.github.com> Co-authored-by: Stephen Buttolph <stephen@avalabs.org>
1 parent ef74baf commit f87964e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cache/lru_cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var _ Cacher[struct{}, struct{}] = (*LRU[struct{}, struct{}])(nil)
1818
type LRU[K comparable, V any] struct {
1919
lock sync.Mutex
2020
elements linkedhashmap.LinkedHashmap[K, V]
21-
// If set to < 0, will be set internally to 1.
21+
// If set to <= 0, will be set internally to 1.
2222
Size int
2323
}
2424

0 commit comments

Comments
 (0)