From f0e356a07d321ef674fcda71cd8014f055c10b07 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Thu, 25 May 2023 14:50:08 -0700 Subject: [PATCH] doc: add release notes for new min/max built-ins For #59488. Change-Id: Iefabb06014767c5f633082a112a81e9ff5f09a30 Reviewed-on: https://go-review.googlesource.com/c/go/+/498397 Reviewed-by: Ian Lance Taylor Auto-Submit: Robert Griesemer Reviewed-by: Robert Griesemer TryBot-Bypass: Robert Griesemer --- doc/go1.21.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/go1.21.html b/doc/go1.21.html index c1cca12d22..040a12c682 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -25,6 +25,15 @@ Do not send CLs removing the interior tags from such phrases.

Changes to the language

+ +

+ Go 1.21 adds two new built-ins to the language: + the new functions min and max compute the + smallest (or largest, for max) value of a fixed number + of given arguments. + See the language spec for details. +

+

TODO: https://go.dev/issue/56986: extended backwards compatibility for Go

-- 2.50.0