1
0
mirror of https://github.com/golang/go synced 2024-11-11 23:40:22 -07:00

doc/faq: update generics entry to reflect accepted proposal

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>
This commit is contained in:
Ian Lance Taylor 2021-02-14 17:21:56 -08:00
parent 852ce7c212
commit 33d72fd412

View 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>