1
0
mirror of https://github.com/golang/go synced 2024-11-23 04:40:09 -07:00

unicode: Fixed an out of date comment (MaxLatin1, not Latin1Max).

Change-Id: I3ca878e9685f650a9ff02aaac0e2e3cca89634c6
Reviewed-on: https://go-review.googlesource.com/4970
Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
Aaron Jacobs 2015-02-17 08:21:14 +11:00 committed by Minux Ma
parent a25e40df47
commit 490af4fd83

View File

@ -82,7 +82,7 @@ func IsControl(r rune) bool {
if uint32(r) <= MaxLatin1 {
return properties[uint8(r)]&pC != 0
}
// All control characters are < Latin1Max.
// All control characters are < MaxLatin1.
return false
}