Skip to content

Commit dd491cf

Browse files
ianlancetaylorgopherbot
authored andcommitted
bufio: link "too large to fit" to Scanner.Buffer
Change-Id: Id0a4f5716da98008eec10eee05b74fc2a155ba3c Reviewed-on: https://go-review.googlesource.com/c/go/+/535216 Reviewed-by: Mauri de Souza Meneguzzo <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Rob Pike <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent cc47df0 commit dd491cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bufio/scan.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
// client may instead provide a custom split function.
2323
//
2424
// Scanning stops unrecoverably at EOF, the first I/O error, or a token too
25-
// large to fit in the buffer. When a scan stops, the reader may have
25+
// large to fit in the [Scanner.Buffer]. When a scan stops, the reader may have
2626
// advanced arbitrarily far past the last token. Programs that need more
2727
// control over error handling or large tokens, or must run sequential scans
2828
// on a reader, should use [bufio.Reader] instead.

0 commit comments

Comments
 (0)