From cc99093dfa60ecd2350cadcab5fe0d5066f06d55 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 7 Jun 2023 17:05:11 -0700 Subject: [PATCH] doc/go1.21: mention new cmp package For #59488 Change-Id: I73ee4d1d8b9d8e6f0aad9e3bb98729aaa0f06a47 Reviewed-on: https://go-review.googlesource.com/c/go/+/501697 TryBot-Bypass: Ian Lance Taylor Reviewed-by: Robert Griesemer Reviewed-by: Eli Bendersky Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor --- doc/go1.21.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/doc/go1.21.html b/doc/go1.21.html index 10aafac668..1f9d8ffea1 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -386,13 +386,15 @@ Do not send CLs removing the interior tags from such phrases. maps of any key or element type.

-
cmp
-
-

- TODO: https://go.dev/cl/496356: cmp: new package; modified api/next/59488.txt -

-
-
+

+ The new cmp package defines the type + constraint Ordered and + two new generic functions + Less + and Compare that are + useful with ordered + types. +

Minor changes to the library

-- 2.50.0