1
0
mirror of https://github.com/golang/go synced 2024-10-01 03:38:32 -06:00
go/src/bufio
Rob Pike 2975b27bbd scan: for style, adjust code for bad scan read counts
Make the code more consistent with the rest of the file.
Should have caught this in review of CL 225357.

Change-Id: I12824cb436539c31604684e043ebb7587cc92471
Reviewed-on: https://go-review.googlesource.com/c/go/+/225557
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
2020-03-25 22:44:57 +00:00
..
bufio_test.go all: avoid string(i) where i has type int 2020-02-26 04:38:19 +00:00
bufio.go bufio: return the underlying error in ReadFrom if not nil 2019-10-31 17:21:56 +00:00
example_test.go bufio: fix ExampleScanner_Bytes comment, add error check 2019-06-25 00:29:24 +00:00
export_test.go bufio: add Reader.Size and Writer.Size accessors 2017-11-02 17:17:44 +00:00
scan_test.go bufio: don't panic when Scanner sees an impossible Read count 2020-03-25 19:16:39 +00:00
scan.go scan: for style, adjust code for bad scan read counts 2020-03-25 22:44:57 +00:00