summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Chen <40845434+two@users.noreply.github.com>2019-01-29 23:46:38 +0800
committerBrad Fitzpatrick <brad@danga.com>2019-01-29 07:46:38 -0800
commit5b532d6fd5efaf7fa130d4e859a2fde0fc3a9e1b (patch)
tree5489cf1c5620c9a5816b953331eca55ba49f9b5b
parentc65c006176ff7ff98bb916961c7abbc6b0afc0aa (diff)
downloadgolang-groupcache-5b532d6fd5efaf7fa130d4e859a2fde0fc3a9e1b.tar.gz
lru: fix misspelling (#112)
-rw-r--r--lru/lru.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lru/lru.go b/lru/lru.go
index 532cc45..eac1c76 100644
--- a/lru/lru.go
+++ b/lru/lru.go
@@ -25,7 +25,7 @@ type Cache struct {
// an item is evicted. Zero means no limit.
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.
OnEvicted func(key Key, value interface{})