diff --git a/doc/go1.21.html b/doc/go1.21.html index 3758d282c3..075cee592a 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -25,13 +25,53 @@ Do not send CLs removing the interior tags from such phrases.
- 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.
+ Go 1.21 adds three new built-ins to the language.
+
+
min and max compute the
+ smallest (or largest, for max) value of a fixed number
+ of given arguments.
+ See the language spec for
+ details.
+ clear deletes all elements from a
+ map or zeroes all elements of a slice.
+ See the language spec for
+ details.
+ + Package initialization order is now specified more precisely. The + new algorithm is: +
+ TODO: https://go.dev/issue/59338: infer type arguments from assignments of generic functions (reverse type inference)
@@ -745,22 +785,6 @@ Do not send CLs removing the interior tags from such phrases. -
- TODO: https://go.dev/issue/56351: add clear(x) builtin, to clear map, zero content of slice -
- -- TODO: https://go.dev/issue/57411: define initialization order more precisely -
- -- TODO: https://go.dev/issue/59338: infer type arguments from assignments of generic functions (reverse type inference) -
-