text/scanner: fix comment

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/105300044
This commit is contained in:
Robert Griesemer 2014-06-17 09:34:11 -07:00
parent 2b309c6e22
commit 3d853585b6
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ func (s *Scanner) isIdentRune(ch rune, i int) bool {
} }
func (s *Scanner) scanIdentifier() rune { 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() ch := s.next()
for i := 1; s.isIdentRune(ch, i); i++ { for i := 1; s.isIdentRune(ch, i); i++ {
ch = s.next() ch = s.next()