1
0
mirror of https://github.com/golang/go synced 2024-10-03 11:11:22 -06:00

unicode: modify a comment to the convention format.

R=golang-dev, r, rsc
CC=golang-dev
https://golang.org/cl/7869043
This commit is contained in:
Oling Cat 2013-03-19 14:47:41 -04:00 committed by Russ Cox
parent 5268119f26
commit d8714ca49f

View File

@ -151,7 +151,7 @@ func is32(ranges []Range32, r uint32) bool {
return false 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 { func Is(rangeTab *RangeTable, r rune) bool {
r16 := rangeTab.R16 r16 := rangeTab.R16
if len(r16) > 0 && r <= rune(r16[len(r16)-1].Hi) { if len(r16) > 0 && r <= rune(r16[len(r16)-1].Hi) {