]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.21: mention maps package
authorIan Lance Taylor <iant@golang.org>
Sat, 27 May 2023 00:07:49 +0000 (17:07 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 30 May 2023 16:27:41 +0000 (16:27 +0000)
For #57436

Change-Id: I99e8b0819c76f1ccf12154a894c9c4c9d68124d4
Reviewed-on: https://go-review.googlesource.com/c/go/+/498602
Reviewed-by: Eli Bendersky <eliben@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
doc/go1.21.html

index d3d79a2f258764a89e4a9565a2c42d5826787769..0be1bdce5f6d780e2deea34c805884a59bf141db 100644 (file)
@@ -258,6 +258,14 @@ Do not send CLs removing the interior tags from such phrases.
   of any element type.
 </p>
 
+<h3 id="maps">New maps package</h3>
+
+<p><!-- https://go.dev/issue/57436, CL 464343 -->
+  The new <a href="/pkg/maps/">maps</a> package provides several
+  common operations on maps, using generic functions that work with
+  maps of any key or element type.
+</p>
+
 <h3 id="minor_library_changes">Minor changes to the library</h3>
 
 <p>
@@ -567,18 +575,6 @@ Do not send CLs removing the interior tags from such phrases.
   </dd>
 </dl><!-- log/slog -->
 
-<dl id="maps"><dt><a href="/pkg/maps/">maps</a></dt>
-  <dd>
-    <p><!-- https://go.dev/issue/57436 -->
-      TODO: <a href="https://go.dev/issue/57436">https://go.dev/issue/57436</a>: new standard library package based on x/exp/maps
-    </p>
-
-    <p><!-- CL 464343 -->
-      TODO: <a href="https://go.dev/cl/464343">https://go.dev/cl/464343</a>: maps: new package; modified api/next/57436.txt
-    </p>
-  </dd>
-</dl><!-- maps -->
-
 <dl id="math"><dt><a href="/pkg/math/">math</a></dt>
   <dd>
     <p><!-- https://go.dev/issue/56491 -->