We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3501186 commit 583d586Copy full SHA for 583d586
src/sync/hashtriemap.go
@@ -74,6 +74,7 @@ func (m *Map) LoadAndDelete(key any) (value any, loaded bool) {
74
}
75
76
// Delete deletes the value for a key.
77
+// If the key is not in the map, Delete does nothing.
78
func (m *Map) Delete(key any) {
79
m.m.Delete(key)
80
0 commit comments