From: jiahua wang Date: Tue, 16 Nov 2021 07:36:37 +0000 (+0800) Subject: doc/go1.18: add Clone doc X-Git-Tag: go1.18beta1~181 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5527d7ff7935d8a58a693be5d1ec4a5312f0f07d;p=gostls13.git doc/go1.18: add Clone doc For #47694 Change-Id: I3b135f6ff199d7a9746726b131fbe7dd97a8e95e Reviewed-on: https://go-review.googlesource.com/c/go/+/364254 Reviewed-by: Dmitri Shuralyov Trust: Heschi Kreinick --- diff --git a/doc/go1.18.html b/doc/go1.18.html index c6c338984c..6d813dce2e 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -439,7 +439,9 @@ proposal.
strings

- TODO: https://golang.org/cl/345849: add Clone function + The new Clone function copies the input + string without the returned cloned string referencing + the input string's memory.