]> Cypherpunks repositories - gostls13.git/commitdiff
utf8: fix typo.
authorAndrey Mirtchovski <mirtchovski@gmail.com>
Wed, 9 Jan 2013 19:07:13 +0000 (11:07 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 9 Jan 2013 19:07:13 +0000 (11:07 -0800)
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/7063056

src/pkg/unicode/utf8/utf8.go

index ad2357774069a6dedd623946f263874264416db0..93d0be5e0c180ea9aba29ef4f3f3f4b7210c6b80 100644 (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