mirror of
https://github.com/golang/go
synced 2024-11-23 03:50:03 -07:00
doc/go1.17: document changes to os package
Documents the changes to File.WriteString method. For #44513. Fixes #46018. Change-Id: I3a8ef9df9f84662614d54802710bd705d626b995 Reviewed-on: https://go-review.googlesource.com/c/go/+/317910 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Trust: Cherry Mui <cherryyz@google.com>
This commit is contained in:
parent
ce9a3b79d5
commit
7c692cc7ea
@ -428,7 +428,8 @@ Do not send CLs removing the interior tags from such phrases.
|
||||
<dl id="os"><dt><a href="/pkg/os/">os</a></dt>
|
||||
<dd>
|
||||
<p><!-- CL 268020 -->
|
||||
TODO: <a href="https://golang.org/cl/268020">https://golang.org/cl/268020</a>: avoid allocation in File.WriteString
|
||||
The <a href="/pkg/os/#File.WriteString"><code>File.WriteString</code></a> method
|
||||
has been optimized to no longer make a copy of the input string.
|
||||
</p>
|
||||
</dd>
|
||||
</dl><!-- os -->
|
||||
|
Loading…
Reference in New Issue
Block a user