Skip to content

Commit 1ffc110

Browse files
Nasfamejba
Nasfame
authored andcommitted
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: c6fce6d GitHub-Pull-Request: #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>
1 parent c098400 commit 1ffc110

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
+4-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
TODO(laciferin@gmail.com)
1+
The [`(*sync.Map) Clear()`](//sync#Map.Clear) method deletes
2+
all the entries, resulting in an empty map
3+
([#61696](https://github.com/golang/go/issues/61696)).
4+
It is analogous to `clear`.

0 commit comments

Comments
 (0)