From: Rob Pike Date: Tue, 6 Aug 2013 23:35:06 +0000 (+1000) Subject: all: fix up language in a couple of comments X-Git-Tag: go1.2rc2~749 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a4ebad79b4168cdf395b245f8e3c8bb3c985daf9;p=gostls13.git all: fix up language in a couple of comments Leftovers from 11699043 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12558046 --- diff --git a/src/pkg/go/ast/ast.go b/src/pkg/go/ast/ast.go index e7e357106c..a6ce674e74 100644 --- a/src/pkg/go/ast/ast.go +++ b/src/pkg/go/ast/ast.go @@ -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) } diff --git a/src/pkg/html/template/css.go b/src/pkg/html/template/css.go index c5cb074345..634f183f79 100644 --- a/src/pkg/html/template/css.go +++ b/src/pkg/html/template/css.go @@ -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' }