]> Cypherpunks repositories - gostls13.git/commit
bufio: remove unnecessary "continue"
authorQuentin Smith <quentin@golang.org>
Fri, 21 Oct 2016 21:30:15 +0000 (17:30 -0400)
committerQuentin Smith <quentin@golang.org>
Mon, 24 Oct 2016 14:49:44 +0000 (14:49 +0000)
commit0eaa8fe03f46d9cc35d81e872b4b23442609ed80
tree9a451166651fb4f8db8c826b1cc6d9dfb655e0d9
parent7ff0c8267f25a628dc4c8b5fa356b26cbb72530d
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>
src/bufio/scan.go