From: Nasfame Date: Tue, 6 Feb 2024 18:51:22 +0000 (+0000) Subject: doc/next: add release note for sync/Map.Clear X-Git-Tag: go1.23rc1~1286 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1ffc1104699603631305aba9cc380217693b9e45;p=gostls13.git 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: c6fce6d25f8c071c92926ec3341855ad2303b876 GitHub-Pull-Request: golang/go#65534 Reviewed-on: https://go-review.googlesource.com/c/go/+/561755 Reviewed-by: David Chase LUCI-TryBot-Result: Go LUCI Reviewed-by: Jonathan Amsterdam --- diff --git a/doc/next/6-stdlib/99-minor/sync/61696.md b/doc/next/6-stdlib/99-minor/sync/61696.md index 9cb8a3689c..173076ca5e 100644 --- a/doc/next/6-stdlib/99-minor/sync/61696.md +++ b/doc/next/6-stdlib/99-minor/sync/61696.md @@ -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