Commit be36ab33 authored by Andrey Mirtchovski's avatar Andrey Mirtchovski Committed by Ian Lance Taylor

utf8: fix typo.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/7063056
parent f38df4e8
...@@ -400,7 +400,7 @@ func Valid(p []byte) bool { ...@@ -400,7 +400,7 @@ func Valid(p []byte) bool {
} else { } else {
_, size := DecodeRune(p[i:]) _, size := DecodeRune(p[i:])
if size == 1 { if size == 1 {
// All valid runes of size of 1 (those // All valid runes of size 1 (those
// below RuneSelf) were handled above. // below RuneSelf) were handled above.
// This must be a RuneError. // This must be a RuneError.
return false return false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment