mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-25 09:32:43 +00:00
chore(decaymap): fix documentation typo
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
@@ -50,7 +50,7 @@ func (m *Impl[K, V]) expire(key K) bool {
|
|||||||
|
|
||||||
// Delete a value from the DecayMap by key.
|
// 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.
|
// deletion.
|
||||||
func (m *Impl[K, V]) Delete(key K) bool {
|
func (m *Impl[K, V]) Delete(key K) bool {
|
||||||
m.lock.RLock()
|
m.lock.RLock()
|
||||||
|
|||||||
Reference in New Issue
Block a user