lru: fix misspelling (#112)

This commit is contained in:
Sean Chen 2019-01-29 23:46:38 +08:00 committed by Brad Fitzpatrick
parent c65c006176
commit 5b532d6fd5

View File

@ -25,7 +25,7 @@ type Cache struct {
// an item is evicted. Zero means no limit. // an item is evicted. Zero means no limit.
MaxEntries int MaxEntries int
// OnEvicted optionally specificies a callback function to be // OnEvicted optionally specifies a callback function to be
// executed when an entry is purged from the cache. // executed when an entry is purged from the cache.
OnEvicted func(key Key, value interface{}) OnEvicted func(key Key, value interface{})