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 <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]>
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-
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)