We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67dd9ee commit 5527d7fCopy full SHA for 5527d7f
doc/go1.18.html
@@ -439,7 +439,9 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
439
<dl id="strings"><dt><a href="/pkg/strings/">strings</a></dt>
440
<dd>
441
<p><!-- CL 345849 -->
442
- 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
443
+ <code>string</code> without the returned cloned <code>string</code> referencing
444
+ the input string's memory.
445
</p>
446
447
<p><!-- CL 332771 -->
0 commit comments