1
0
mirror of https://github.com/golang/go synced 2024-11-20 11:14:45 -07:00

utf8: fix typo.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/7063056
This commit is contained in:
Andrey Mirtchovski 2013-01-09 11:07:13 -08:00 committed by Ian Lance Taylor
parent f38df4e879
commit be36ab339f

View File

@ -400,7 +400,7 @@ func Valid(p []byte) bool {
} else {
_, size := DecodeRune(p[i:])
if size == 1 {
// All valid runes of size of 1 (those
// All valid runes of size 1 (those
// below RuneSelf) were handled above.
// This must be a RuneError.
return false