1
0
mirror of https://github.com/golang/go synced 2024-09-29 01:24:34 -06:00

doc/next: add release note for sync/Map.Clear

Fix https://go-review.git.corp.google.com/c/go/+/561456

For #61696

Change-Id: I573bd14cf0e5c41adcc8c2b9481e85c5792c2a82
GitHub-Last-Rev: c6fce6d25f
GitHub-Pull-Request: golang/go#65534
Reviewed-on: https://go-review.googlesource.com/c/go/+/561755
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
This commit is contained in:
Nasfame 2024-02-06 18:51:22 +00:00 committed by Jonathan Amsterdam
parent c098400548
commit 1ffc110469

View File

@ -1 +1,4 @@
TODO(laciferin@gmail.com)
The [`(*sync.Map) Clear()`](//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`.