diff --git a/doc/next/2-language.md b/doc/next/2-language.md index e45874b954..db5d83a73e 100644 --- a/doc/next/2-language.md +++ b/doc/next/2-language.md @@ -11,3 +11,7 @@ The "range" clause in a "for-range" loop now accepts iterator functions of the f as range expressions. Calls of the iterator argument function produce the iteration values for the "for-range" loop. For details see the [language spec](https://tip.golang.org/ref/spec#For_statements). + + +Go 1.23 includes preview support for [generic type aliases](/issue/46477). +Building the toolchain with `GOEXPERIMENT=aliastypeparams` enables this feature. diff --git a/doc/next/6-stdlib/99-minor/go/types/46477.md b/doc/next/6-stdlib/99-minor/go/types/46477.md index b0a2d21b15..7f744dc6ae 100644 --- a/doc/next/6-stdlib/99-minor/go/types/46477.md +++ b/doc/next/6-stdlib/99-minor/go/types/46477.md @@ -1,13 +1 @@ - + \ No newline at end of file