]> Cypherpunks repositories - gostls13.git/commit
doc/go1.15: mention consequence of os.File.ReadFrom
authorIan Lance Taylor <iant@golang.org>
Fri, 19 Jun 2020 05:43:36 +0000 (22:43 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 25 Jun 2020 03:11:43 +0000 (03:11 +0000)
commit1bb247a469e306c57a5e0eaba788efb8b3b1acef
tree5b8678e6a8c5d2cf3e90f9d41133834b59aa4a53
parentd7e3a161f50a45c0c86e2621f99074c38572df82
doc/go1.15: mention consequence of os.File.ReadFrom

Now that we've added a os.File.ReadFrom method, io.CopyBuffer to a
os.File will no longer use the provided buffer.

For #16474
For #36817
For #37419

Change-Id: I79a3bf778ff93eab88e88dd9ecbb8c7ea101e868
Reviewed-on: https://go-review.googlesource.com/c/go/+/238864
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
doc/go1.15.html