diff --git a/src/bufio/scan.go b/src/bufio/scan.go index cefd261464..4e787c4b0a 100644 --- a/src/bufio/scan.go +++ b/src/bufio/scan.go @@ -73,7 +73,7 @@ var ( const ( // MaxScanTokenSize is the maximum size used to buffer a token - // unless the user provides an explicit buffer with Scan.Buffer. + // unless the user provides an explicit buffer with Scanner.Buffer. // The actual maximum token size may be smaller as the buffer // may need to include, for instance, a newline. MaxScanTokenSize = 64 * 1024