mirror of
https://github.com/golang/go
synced 2024-11-23 01:40:03 -07: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:
parent
5268119f26
commit
d8714ca49f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user