From: Robert Griesemer Date: Fri, 21 Jan 2022 00:20:33 +0000 (-0800) Subject: Revert "doc/go1.18: document type parameter name restriction" X-Git-Tag: go1.18beta2~56 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d15481b8c7f5f73a8b987a0c1deea04659ed0bb0;p=gostls13.git Revert "doc/go1.18: document type parameter name restriction" This reverts CL 376414. For #47694. For #50481. Change-Id: Ie73961046e52e6e5d3262ef0aeaa24bec7eaa937 Reviewed-on: https://go-review.googlesource.com/c/go/+/379835 Trust: Robert Griesemer Reviewed-by: Ian Lance Taylor --- diff --git a/doc/go1.18.html b/doc/go1.18.html index a43b65d0a2..4d1b6520ee 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -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. -
  • - A generic type or function currently may declare at most one blank (_) - 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. -