Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ type Config[K Key, V any] struct {
// after Set is called for a new item or an item is updated with a cost param of 0.
//
// Cost is an optional function you can pass to the Config in order to evaluate
// item cost at runtime, and only whentthe Set call isn't going to be dropped. This
// item cost at runtime, and only when the Set call isn't going to be dropped. This
// is useful if calculating item cost is particularly expensive and you don't want to
// waste time on items that will be dropped anyways.
//
Expand Down
Loading