Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JimChenWYU committed Aug 27, 2024
1 parent e9d1155 commit cb07aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simplelru/lru.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (c *Cache[K, V]) PeekOldest() (key K, value V, ok bool) {
return
}

// Removes a key from the cache.f
// Removes a key from the cache.
func (c *Cache[K, V]) Remove(key K) (value V, ok bool) {
oldNode, ok := c.items.Remove(key)
if ok {
Expand Down

0 comments on commit cb07aab

Please sign in to comment.