]> Cypherpunks repositories - gostls13.git/commitdiff
doc/next: add release note for sync/Map.Clear
authorNasfame <laciferin@gmail.com>
Tue, 6 Feb 2024 18:51:22 +0000 (18:51 +0000)
committerJonathan Amsterdam <jba@google.com>
Wed, 7 Feb 2024 21:04:18 +0000 (21:04 +0000)
Fix https://go-review.git.corp.google.com/c/go/+/561456

For #61696

Change-Id: I573bd14cf0e5c41adcc8c2b9481e85c5792c2a82
GitHub-Last-Rev: c6fce6d25f8c071c92926ec3341855ad2303b876
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>
doc/next/6-stdlib/99-minor/sync/61696.md

index 9cb8a3689c37cd7a084e05aaeddd732e4e0bb784..173076ca5e6cac2d49b3b9f6427dd7ea0b692cba 100644 (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`.
\ No newline at end of file