]> Cypherpunks repositories - gostls13.git/commitdiff
Revert "doc/go1.18: document type parameter name restriction"
authorRobert Griesemer <gri@golang.org>
Fri, 21 Jan 2022 00:20:33 +0000 (16:20 -0800)
committerRobert Griesemer <gri@golang.org>
Fri, 21 Jan 2022 01:14:28 +0000 (01:14 +0000)
This reverts CL 376414.

For #47694.
For #50481.

Change-Id: Ie73961046e52e6e5d3262ef0aeaa24bec7eaa937
Reviewed-on: https://go-review.googlesource.com/c/go/+/379835
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go1.18.html

index a43b65d0a21f391ec3ab99e6aa6e7928ad4756f1..4d1b6520ee6ea443b1f4b19844ea2f6f23b2a3da 100644 (file)
@@ -108,12 +108,6 @@ Do not send CLs removing the interior tags from such phrases.
       interface type with a non-empty method set. Whether this will
       ever be permitted is unclear at present.
     </li>
-    <li><!-- https://golang.org/issue/50481 -->
-      A generic type or function currently may declare at most one blank (<code>_</code>)
-      type parameter name. Note that it is always possible to use an arbitrary new
-      (unused) identifier in place of a blank type parameter name.
-      We plan to remove this restriction in Go 1.19.
-    </li>
   </ul>
 </p>