aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2023-10-13 12:38:57 -0700
committerGopher Robot <gobot@golang.org>2023-10-14 22:15:54 +0000
commitdd491cfa544ff99e2530cd42750eaf318ec1e060 (patch)
tree8a7b5e0fb87d8f7524785cc27de724b61a75dfef /src
parentcc47df017da343ee33eee0f4f59974633ca5a486 (diff)
downloadgo-dd491cfa544ff99e2530cd42750eaf318ec1e060.tar.xz
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 <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>
Diffstat (limited to 'src')
-rw-r--r--src/bufio/scan.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bufio/scan.go b/src/bufio/scan.go
index 558e168b2d..15ea7ffcb8 100644
--- a/src/bufio/scan.go
+++ b/src/bufio/scan.go
@@ -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.