diff --git a/doc/go1.21.html b/doc/go1.21.html index 76f5451a0e..a80d11bbc5 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -333,12 +333,14 @@ Do not send CLs removing the interior tags from such phrases.
- TODO: https://go.dev/issue/53685: add Buffer.Available and Buffer.AvailableBuffer -
- -- TODO: https://go.dev/cl/474635: bytes: add Buffer.Available and Buffer.AvailableBuffer; modified api/next/53685.txt +
+ The Buffer type
+ has two new methods:
+ Available
+ and AvailableBuffer.
+ These may be used along with the
+ Write
+ method to append directly to the Buffer.