]> Cypherpunks repositories - gostls13.git/commitdiff
doc/faq: update generics entry to reflect accepted proposal
authorIan Lance Taylor <iant@golang.org>
Mon, 15 Feb 2021 01:21:56 +0000 (17:21 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 15 Feb 2021 01:54:22 +0000 (01:54 +0000)
For #43651

Change-Id: Idb511f4c759d9a77de289938c19c2c1d4a542a17
Reviewed-on: https://go-review.googlesource.com/c/go/+/291990
Trust: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
doc/go_faq.html

index 23a3080c9bc7458e53b95eccc8920e0f81df1eb5..67dc0b9bd4582c33f544fe4d7b91efac14f5c0a9 100644 (file)
@@ -446,8 +446,10 @@ they compensate in interesting ways for the lack of <var>X</var>.
 <h3 id="generics">
 Why does Go not have generic types?</h3>
 <p>
-Generics may well be added at some point.  We don't feel an urgency for
-them, although we understand some programmers do.
+A <a href="https://golang.org/issue/43651">language proposal
+implementing a form of generic types</a> has been accepted for
+inclusion in the language.
+If all goes well it will be available in the Go 1.18 release.
 </p>
 
 <p>