aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/unicode/utf8
diff options
context:
space:
mode:
authorAndrey Mirtchovski <mirtchovski@gmail.com>2013-01-09 11:07:13 -0800
committerIan Lance Taylor <iant@golang.org>2013-01-09 11:07:13 -0800
commitbe36ab339f5f11f2daaec29e46e9e1ce25c74688 (patch)
tree99c8ba8d7f496b27a610c7f6dafe2904d819928a /src/pkg/unicode/utf8
parentf38df4e8790969180aee6b5889305f41539a8693 (diff)
downloadgo-be36ab339f5f11f2daaec29e46e9e1ce25c74688.tar.xz
utf8: fix typo.
R=golang-dev, iant CC=golang-dev https://golang.org/cl/7063056
Diffstat (limited to 'src/pkg/unicode/utf8')
-rw-r--r--src/pkg/unicode/utf8/utf8.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/unicode/utf8/utf8.go b/src/pkg/unicode/utf8/utf8.go
index ad23577740..93d0be5e0c 100644
--- a/src/pkg/unicode/utf8/utf8.go
+++ b/src/pkg/unicode/utf8/utf8.go
@@ -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