]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.18: add AppendRune doc
authorjiahua wang <wjh180909@gmail.com>
Fri, 12 Nov 2021 02:15:21 +0000 (10:15 +0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 16 Nov 2021 05:36:07 +0000 (05:36 +0000)
For #47694

Change-Id: I39594c273aeb038702457587ee1c46e4b3920bb6
Reviewed-on: https://go-review.googlesource.com/c/go/+/363359
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
Trust: Jeremy Faller <jeremy@golang.org>

doc/go1.18.html

index e796215c78b3cf4f3e63f2b96c1f9cb03a01767e..e266889cad0034bd606e623e791e99b11fe6495f 100644 (file)
@@ -441,7 +441,8 @@ Do not send CLs removing the interior tags from such phrases.
 <dl id="unicode/utf8"><dt><a href="/pkg/unicode/utf8/">unicode/utf8</a></dt>
   <dd>
     <p><!-- CL 345571 -->
-      TODO: <a href="https://golang.org/cl/345571">https://golang.org/cl/345571</a>: add AppendRune
+      The <a href="/pkg/unicode/utf8/#AppendRune"><code>AppendRune</code></a> function appends the UTF-8 new
+      encoding of a <code>rune</code> to a <code>[]byte</code>.
     </p>
   </dd>
 </dl><!-- unicode/utf8 -->