mirror of
https://github.com/golang/go
synced 2024-11-26 09:08:07 -07:00
doc/go1.21: add heading for cmp package
For #59488. For #58645. Change-Id: Ia9b76d49825dd74f7e52d829ec6d47e6c2addd76 Reviewed-on: https://go-review.googlesource.com/c/go/+/501825 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Bypass: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
parent
1fd3cc7cd0
commit
bd8c133097
@ -394,6 +394,8 @@ Do not send CLs removing the interior tags from such phrases.
|
||||
maps of any key or element type.
|
||||
</p>
|
||||
|
||||
<h3 id="cmp">New cmp package</h3>
|
||||
|
||||
<p><!-- https://go.dev/issue/59488, CL 469356 -->
|
||||
The new <a href="/pkg/cmp/">cmp</a> package defines the type
|
||||
constraint <a href="/pkg/cmp/#Ordered"><code>Ordered</code></a> and
|
||||
|
Loading…
Reference in New Issue
Block a user