Skip to content

Commit

Permalink
doc/go1.17: document changes to os package
Browse files Browse the repository at this point in the history
Documents the changes to File.WriteString method.

For golang#44513.
Fixes golang#46018.

Change-Id: I3a8ef9df9f84662614d54802710bd705d626b995
Reviewed-on: https://go-review.googlesource.com/c/go/+/317910
Reviewed-by: Dmitri Shuralyov <[email protected]>
Trust: Cherry Mui <[email protected]>
  • Loading branch information
VishalDalwadi authored and dmitshur committed May 20, 2021
1 parent ce9a3b7 commit 7c692cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/go1.17.html
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,8 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
<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 -->
Expand Down

0 comments on commit 7c692cc

Please sign in to comment.