diff --git a/src/bufio/bufio.go b/src/bufio/bufio.go index e498dfea1e..46df619228 100644 --- a/src/bufio/bufio.go +++ b/src/bufio/bufio.go @@ -186,9 +186,8 @@ func (b *Reader) Discard(n int) (discarded int, err error) { // It returns the number of bytes read into p. // The bytes are taken from at most one Read on the underlying Reader, // hence n may be less than len(p). -// At EOF, the count will be zero and err will be io.EOF. -// // To read exactly len(p) bytes, use io.ReadFull(b, p). +// At EOF, the count will be zero and err will be io.EOF. func (b *Reader) Read(p []byte) (n int, err error) { n = len(p) if n == 0 {