]> Cypherpunks repositories - gostls13.git/commitdiff
unicode: modify a comment to the convention format.
authorOling Cat <olingcat@gmail.com>
Tue, 19 Mar 2013 18:47:41 +0000 (14:47 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 19 Mar 2013 18:47:41 +0000 (14:47 -0400)
R=golang-dev, r, rsc
CC=golang-dev
https://golang.org/cl/7869043

src/pkg/unicode/letter.go

index 8d56363df96f0a5f52283257a301c263ef1b5af4..fadaa57d8b5b6f70062f33111a021f43280e958a 100644 (file)
@@ -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) {