From 9455da01a1ae33811f972179ab66ddf8e8115792 Mon Sep 17 00:00:00 2001 From: Sascha Peukert Date: Thu, 29 Feb 2024 15:35:09 +0100 Subject: [PATCH] Fixing grammar in docs (#393) --- bigcache.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bigcache.go b/bigcache.go index ca9eff7..b3aa37b 100644 --- a/bigcache.go +++ b/bigcache.go @@ -188,7 +188,7 @@ func (c *BigCache) ResetStats() error { return nil } -// Len computes number of entries in cache +// Len computes the number of entries in the cache. func (c *BigCache) Len() int { var len int for _, shard := range c.shards { @@ -197,7 +197,7 @@ func (c *BigCache) Len() int { return len } -// Capacity returns amount of bytes store in the cache. +// Capacity returns the amount of bytes stored in the cache. func (c *BigCache) Capacity() int { var len int for _, shard := range c.shards {