Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyahui committed Nov 19, 2023
1 parent 93a748a commit 875538d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (c *BigCache) Set(key string, entry []byte) error {

// Append appends entry under the key if key exists, otherwise
// it will set the key (same behaviour as Set()). With Append() you can
// concatenate multiple entries under the same key in an lock optimized way.
// concatenate multiple entries under the same key in a lock optimized way.
func (c *BigCache) Append(key string, entry []byte) error {
hashedKey := c.hash.Sum64(key)
shard := c.getShard(hashedKey)
Expand Down

0 comments on commit 875538d

Please sign in to comment.