mirror of
https://github.com/golang/go
synced 2024-11-25 23:58:02 -07:00
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:
parent
1bac2528fc
commit
236fe24ed5
@ -1,4 +1,2 @@
|
|||||||
The [`(*sync.Map) Clear()`](/pkg/sync#Map.Clear) method deletes
|
The [Map.Clear] method deletes all the entries, resulting in
|
||||||
all the entries, resulting in an empty map
|
an empty [Map]. It is analogous to `clear`.
|
||||||
([#61696](https://github.com/golang/go/issues/61696)).
|
|
||||||
It is analogous to `clear`.
|
|
||||||
|
Loading…
Reference in New Issue
Block a user