]> Cypherpunks.ru repositories - gostls13.git/commit
bufio: put notes about len(p) together
authorRuss Cox <rsc@golang.org>
Mon, 12 Nov 2018 16:36:12 +0000 (11:36 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 13 Nov 2018 03:25:22 +0000 (03:25 +0000)
commitde50ea3cd848f187766825402f8d6c8109536443
treed83d4c7f4da25ef6de09d9ab9d3f681fbdc9e0ee
parentee55f0856a3f1fed5d8c15af54c40e4799c2d32f
bufio: put notes about len(p) together

CL 145577 added the part about io.ReadFull to read len(p)
but it should be next to the existing sentence about not
reading len(p) bytes.

Change-Id: Idfa037c59a3085d44d5da6129188473db0e96d23
Reviewed-on: https://go-review.googlesource.com/c/148903
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
src/bufio/bufio.go