From: Robert Griesemer Date: Thu, 25 May 2023 21:50:08 +0000 (-0700) Subject: doc: add release notes for new min/max built-ins X-Git-Tag: go1.21rc1~219 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f0e356a07d321ef674fcda71cd8014f055c10b07;p=gostls13.git 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 --- 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