Skip to content

Commit 380dfef

Browse files
committed
polish
1 parent 09d98b9 commit 380dfef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Item[K comparable, T any] struct {
1818

1919
type Cache[K comparable, T any] struct {
2020
storage map[K]*Item[K, T]
21-
length atomic.Uint64
21+
length atomic.Int64
2222

2323
size uint
2424
strictSize bool

0 commit comments

Comments
 (0)