aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/unicode
diff options
context:
space:
mode:
authorOling Cat <olingcat@gmail.com>2013-03-19 14:47:41 -0400
committerRuss Cox <rsc@golang.org>2013-03-19 14:47:41 -0400
commitd8714ca49f974d6117b443bfe90c0cc3511dc138 (patch)
treeb582359bed2993fb321ff8f6c64319d76ded3e10 /src/pkg/unicode
parent5268119f26728ddd2ee9f8eebcbfcec83ac5bd69 (diff)
downloadgo-d8714ca49f974d6117b443bfe90c0cc3511dc138.tar.xz
unicode: modify a comment to the convention format.
R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/7869043
Diffstat (limited to 'src/pkg/unicode')
-rw-r--r--src/pkg/unicode/letter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/unicode/letter.go b/src/pkg/unicode/letter.go
index 8d56363df9..fadaa57d8b 100644
--- a/src/pkg/unicode/letter.go
+++ b/src/pkg/unicode/letter.go
@@ -151,7 +151,7 @@ func is32(ranges []Range32, r uint32) bool {
return false
}
-// Is tests whether rune is in the specified table of ranges.
+// Is reports whether the rune is in the specified table of ranges.
func Is(rangeTab *RangeTable, r rune) bool {
r16 := rangeTab.R16
if len(r16) > 0 && r <= rune(r16[len(r16)-1].Hi) {