From 1b848aa1e52ac2455c8f2f45e30a20a8e34a7179 Mon Sep 17 00:00:00 2001 From: K Date: Sat, 23 Sep 2023 16:42:34 +0000 Subject: [PATCH] [chore] fix typo in slice.go (#2219) --- internal/cache/slice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cache/slice.go b/internal/cache/slice.go index 5e7fa6ce1..bcc0b68cc 100644 --- a/internal/cache/slice.go +++ b/internal/cache/slice.go @@ -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]