From 5527d7ff7935d8a58a693be5d1ec4a5312f0f07d Mon Sep 17 00:00:00 2001 From: jiahua wang Date: Tue, 16 Nov 2021 15:36:37 +0800 Subject: [PATCH] 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 --- doc/go1.18.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.