From 1ffc1104699603631305aba9cc380217693b9e45 Mon Sep 17 00:00:00 2001 From: Nasfame Date: Tue, 6 Feb 2024 18:51:22 +0000 Subject: [PATCH] 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 --- doc/next/6-stdlib/99-minor/sync/61696.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/next/6-stdlib/99-minor/sync/61696.md b/doc/next/6-stdlib/99-minor/sync/61696.md index 9cb8a3689c3..173076ca5e6 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