mirror of
https://github.com/golang/go
synced 2024-10-14 03:43:28 +00:00
doc/go1.18: add constraints package documentation
Updates #47694 Change-Id: I3239023dad194c317e271e6093eff2cfbed1a4b9 Reviewed-on: https://go-review.googlesource.com/c/go/+/368314 Trust: Jeremy Faller <jeremy@golang.org> Run-TryBot: Jeremy Faller <jeremy@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
d514411625
commit
d3bf627bc1
|
@ -258,7 +258,9 @@ proposal</a>.
|
||||||
<h3 id="constraints">New <code>constraints</code> package</h3>
|
<h3 id="constraints">New <code>constraints</code> package</h3>
|
||||||
|
|
||||||
<p><!-- CL 349709 -->
|
<p><!-- CL 349709 -->
|
||||||
TODO: <a href="https://golang.org/cl/349709">https://golang.org/cl/349709</a>: constraints: new package
|
The new <a href="/pkg/constraints/"><code>constraints</code></a> package
|
||||||
|
defines a set of useful constraints that can be used with type parameters of
|
||||||
|
generic functions.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3 id="netip">New <code>net/netip</code> package</h3>
|
<h3 id="netip">New <code>net/netip</code> package</h3>
|
||||||
|
|
Loading…
Reference in a new issue