[chore] fix typo in slice.go (#2219)

This commit is contained in:
K 2023-09-23 16:42:34 +00:00 committed by GitHub
parent b987653cc9
commit 1b848aa1e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@
"golang.org/x/exp/slices"
)
// SliceCache wraps a ttl.Cache to provide simple loader-callback
// SliceCache wraps a simple.Cache to provide simple loader-callback
// functions for fetching + caching slices of objects (e.g. IDs).
type SliceCache[T any] struct {
*simple.Cache[string, []T]