]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.18: add documentation for changes to go/constant
authorRobert Griesemer <gri@golang.org>
Fri, 3 Dec 2021 18:04:49 +0000 (10:04 -0800)
committerRobert Griesemer <gri@golang.org>
Sat, 4 Dec 2021 01:07:10 +0000 (01:07 +0000)
Updates #47694

Change-Id: I2ce5aaa4493259790712a8a49e5b03472c8a7400
Reviewed-on: https://go-review.googlesource.com/c/go/+/369094
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
doc/go1.18.html

index ea686933e0c119a0cdb68df16337332e5804a24d..5b0520e9d623116911c21345113e3dc6caf445a0 100644 (file)
@@ -406,18 +406,11 @@ Do not send CLs removing the interior tags from such phrases.
   </dd>
 </dl>
 
-<dl id="go/ast"><dt><a href="/pkg/go/ast/">go/ast</a></dt>
+<dl id="go/constant"><dt><a href="/pkg/go/constant/">go/constant</a></dt>
   <dd>
-    <p>
-      TODO: Mention new generics APIs.
-    </p>
-  </dd>
-</dl>
-
-<dl id="go/types"><dt><a href="/pkg/go/types/">go/types</a></dt>
-  <dd>
-    <p>
-      TODO: Mention new generics APIs.
+    <p><!-- https://golang.org/issue/46211, CL 320491 -->
+      The new <a href="/pkg/go/constant/#Kind.String"><code>Kind.String</code></a>
+      method returns a human-readable name for the receiver kind.
     </p>
   </dd>
 </dl>