1
0
mirror of https://github.com/golang/go synced 2024-09-30 04:34:33 -06:00
go/src/bufio
Ian Lance Taylor 6052838bc3 all: avoid string(i) where i has type int
Instead use string(r) where r has type rune.

This is in preparation for a vet warning for string(i).

Updates #32479

Change-Id: Ic205269bba1bd41723950219ecfb67ce17a7aa79
Reviewed-on: https://go-review.googlesource.com/c/go/+/220844
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Akhil Indurti <aindurti@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Toshihiro Shiino <shiino.toshihiro@gmail.com>
2020-02-26 04:38:19 +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
scan_test.go
scan.go bufio: Fix typo in scan.go documentation 2019-05-23 13:55:55 +00:00