doc: update relnote for sync.Map.Clear

Change-Id: I28baf375502ccf3b0dfcc8250650e914ac7bae78
Reviewed-on: https://go-review.googlesource.com/c/go/+/577835
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Jes Cok <xigua67damn@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Jes Cok 2024-04-10 21:00:41 +08:00 committed by Gopher Robot
parent 1bac2528fc
commit 236fe24ed5

View file

@ -1,4 +1,2 @@
The [`(*sync.Map) Clear()`](/pkg/sync#Map.Clear) method deletes
all the entries, resulting in an empty map
([#61696](https://github.com/golang/go/issues/61696)).
It is analogous to `clear`.
The [Map.Clear] method deletes all the entries, resulting in
an empty [Map]. It is analogous to `clear`.