mirror of
https://github.com/golang/go
synced 2024-09-05 16:04:50 +00:00
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 <dmitshur@golang.org> Trust: Heschi Kreinick <heschi@google.com>
This commit is contained in:
parent
67dd9ee92c
commit
5527d7ff79
|
@ -439,7 +439,9 @@ proposal</a>.
|
|||
<dl id="strings"><dt><a href="/pkg/strings/">strings</a></dt>
|
||||
<dd>
|
||||
<p><!-- CL 345849 -->
|
||||
TODO: <a href="https://golang.org/cl/345849">https://golang.org/cl/345849</a>: add Clone function
|
||||
The new <a href="/pkg/strings/#Clone"><code>Clone</code></a> function copies the input
|
||||
<code>string</code> without the returned cloned <code>string</code> referencing
|
||||
the input string's memory.
|
||||
</p>
|
||||
|
||||
<p><!-- CL 332771 -->
|
||||
|
|
Loading…
Reference in a new issue