From 3cea9e688100aa4db2f459dc77f6ce22dacf1d87 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 31 May 2023 11:47:14 -0700 Subject: [PATCH] doc/go1.21: document new bytes.Buffer methods For #53685 Change-Id: I237297d19afeb36ad738074d0c61caa7012f65ac Reviewed-on: https://go-review.googlesource.com/c/go/+/499617 Reviewed-by: Eli Bendersky Auto-Submit: Ian Lance Taylor Reviewed-by: Ian Lance Taylor TryBot-Bypass: Ian Lance Taylor --- doc/go1.21.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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.
bytes
-

- 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.

-- 2.48.1