1
0
mirror of https://github.com/golang/go synced 2024-11-18 08:04:40 -07:00
go/src/bufio
Quentin Smith 0eaa8fe03f bufio: remove unnecessary "continue"
After resizing the scan buffer, we can immediately read into the
newly-resized buffer since we know there is now space.

Fixes #15712.

Change-Id: I56fcfaeb67045ee753a012c37883aa7c81b6e877
Reviewed-on: https://go-review.googlesource.com/31715
Run-TryBot: Quentin Smith <quentin@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2016-10-24 14:49:44 +00:00
..
bufio_test.go bufio: read from underlying reader at most once in Read 2016-10-18 12:56:55 +00:00
bufio.go bufio: read from underlying reader at most once in Read 2016-10-18 12:56:55 +00:00
example_test.go
export_test.go
scan_test.go all: delete dead test code 2016-03-21 07:10:08 +00:00
scan.go bufio: remove unnecessary "continue" 2016-10-24 14:49:44 +00:00