chore(decaymap): fix documentation typo

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-07-03 04:07:44 +00:00
parent def6f2dc90
commit b8e0c1a961

View File

@@ -50,7 +50,7 @@ func (m *Impl[K, V]) expire(key K) bool {
// Delete a value from the DecayMap by key.
//
// If the value does not exist, return false. Otherwise return true after
// If the value does not exist, return false. Return true after
// deletion.
func (m *Impl[K, V]) Delete(key K) bool {
m.lock.RLock()