diff --git a/doc/go1.21.html b/doc/go1.21.html index 21d2b35eaf..b959cdb116 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -667,12 +667,16 @@ Do not send CLs removing the interior tags from such phrases.
regexp
-

- TODO: https://go.dev/issue/46159: support encoding.TextMarshaler -

- -

- TODO: https://go.dev/cl/479401: regexp: add Regexp.TextMarshaler/TextUnmarshaler; modified api/next/46159.txt +

+ Regexp now defines + MarshalText + and UnmarshalText + methods. These implement + encoding.TextMarshaler + and + encoding.TextUnmarshaler + and will be used by packages such as + encoding/json.