diff --git a/src/pkg/text/scanner/scanner.go b/src/pkg/text/scanner/scanner.go index e7cdd33366..25b2c9e02a 100644 --- a/src/pkg/text/scanner/scanner.go +++ b/src/pkg/text/scanner/scanner.go @@ -347,7 +347,7 @@ func (s *Scanner) isIdentRune(ch rune, i int) bool { } func (s *Scanner) scanIdentifier() rune { - // we know the zero'th rune is OK; start with 2nd one + // we know the zero'th rune is OK; start scanning at the next one ch := s.next() for i := 1; s.isIdentRune(ch, i); i++ { ch = s.next()