Skip to content

Commit

Permalink
Fixing grammar in docs (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaPeukert committed Feb 29, 2024
1 parent 901589e commit 9455da0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bigcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 9455da0

Please sign in to comment.