diff options
Diffstat (limited to 'src/pkg/unicode/graphic.go')
-rw-r--r-- | src/pkg/unicode/graphic.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pkg/unicode/graphic.go b/src/pkg/unicode/graphic.go index 2904da6c6..0de90ebd8 100644 --- a/src/pkg/unicode/graphic.go +++ b/src/pkg/unicode/graphic.go @@ -53,7 +53,6 @@ func IsPrint(r rune) bool { } // IsOneOf reports whether the rune is a member of one of the ranges. -// The rune is known to be above Latin-1. func IsOneOf(set []*RangeTable, r rune) bool { for _, inside := range set { if Is(inside, r) { @@ -65,7 +64,7 @@ func IsOneOf(set []*RangeTable, r rune) bool { // IsControl reports whether the rune is a control character. // The C (Other) Unicode category includes more code points -// such as surrogates; use Is(C, rune) to test for them. +// such as surrogates; use Is(C, r) to test for them. func IsControl(r rune) bool { if uint32(r) <= MaxLatin1 { return properties[uint8(r)]&pC != 0 |