Skip to content

Commit

Permalink
fix typo (#385)
Browse files Browse the repository at this point in the history
Co-authored-by: Tomasz Janiszewski <[email protected]>
  • Loading branch information
chenyahui and janisz authored Jan 19, 2024
1 parent 1864b07 commit 77f81f5
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 @@ -160,7 +160,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 77f81f5

Please sign in to comment.