diff options
Diffstat (limited to 'libgo/go/bufio/scan.go')
-rw-r--r-- | libgo/go/bufio/scan.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/bufio/scan.go b/libgo/go/bufio/scan.go index 364d1596139..7a349fa8fab 100644 --- a/libgo/go/bufio/scan.go +++ b/libgo/go/bufio/scan.go @@ -109,7 +109,7 @@ func (s *Scanner) Text() string { // After Scan returns false, the Err method will return any error that // occurred during scanning, except that if it was io.EOF, Err // will return nil. -// Split panics if the split function returns 100 empty tokens without +// Scan panics if the split function returns 100 empty tokens without // advancing the input. This is a common error mode for scanners. func (s *Scanner) Scan() bool { // Loop until we have a token. |