]> Cypherpunks repositories - gostls13.git/commitdiff
bufio: link "too large to fit" to Scanner.Buffer
authorIan Lance Taylor <iant@golang.org>
Fri, 13 Oct 2023 19:38:57 +0000 (12:38 -0700)
committerGopher Robot <gobot@golang.org>
Sat, 14 Oct 2023 22:15:54 +0000 (22:15 +0000)
Change-Id: Id0a4f5716da98008eec10eee05b74fc2a155ba3c
Reviewed-on: https://go-review.googlesource.com/c/go/+/535216
Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/bufio/scan.go

index 558e168b2d723d25849cb12d0c496ad9f017307b..15ea7ffcb8181381162d1060a4a84cec4a3fe418 100644 (file)
@@ -22,7 +22,7 @@ import (
 // client may instead provide a custom split function.
 //
 // Scanning stops unrecoverably at EOF, the first I/O error, or a token too
-// large to fit in the buffer. When a scan stops, the reader may have
+// large to fit in the [Scanner.Buffer]. When a scan stops, the reader may have
 // advanced arbitrarily far past the last token. Programs that need more
 // control over error handling or large tokens, or must run sequential scans
 // on a reader, should use [bufio.Reader] instead.