diff --git a/src/sync/hashtriemap.go b/src/sync/hashtriemap.go index 8df0e2b567..ce30f590bb 100644 --- a/src/sync/hashtriemap.go +++ b/src/sync/hashtriemap.go @@ -74,6 +74,7 @@ func (m *Map) LoadAndDelete(key any) (value any, loaded bool) { } // Delete deletes the value for a key. +// If the key is not in the map, Delete does nothing. func (m *Map) Delete(key any) { m.m.Delete(key) }