1
0
mirror of https://github.com/golang/go synced 2024-11-13 18:30:26 -07:00

all: fix up language in a couple of comments

Leftovers from 11699043

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/12558046
This commit is contained in:
Rob Pike 2013-08-07 09:35:06 +10:00
parent a4eac94b57
commit a4ebad79b4
2 changed files with 2 additions and 2 deletions

View File

@ -528,7 +528,7 @@ func IsExported(name string) bool {
}
// IsExported reports whether id is an exported Go symbol
// (i.e., whether it begins with an uppercase letter).
// (that is, whether it begins with an uppercase letter).
//
func (id *Ident) IsExported() bool { return IsExported(id.Name) }

View File

@ -99,7 +99,7 @@ func decodeCSS(s []byte) []byte {
return b
}
// isHex reports reports whether the given character is a hex digit.
// isHex reports whether the given character is a hex digit.
func isHex(c byte) bool {
return '0' <= c && c <= '9' || 'a' <= c && c <= 'f' || 'A' <= c && c <= 'F'
}