]> Cypherpunks repositories - gostls13.git/commitdiff
all: fix up language in a couple of comments
authorRob Pike <r@golang.org>
Tue, 6 Aug 2013 23:35:06 +0000 (09:35 +1000)
committerRob Pike <r@golang.org>
Tue, 6 Aug 2013 23:35:06 +0000 (09:35 +1000)
Leftovers from 11699043

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/12558046

src/pkg/go/ast/ast.go
src/pkg/html/template/css.go

index e7e357106c7836487c78edd4b230b28b37953c49..a6ce674e740a3199aa88d4c76df5311c1afe4b6a 100644 (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) }
 
index c5cb0743458397c8678106aa6854f543db85dc8c..634f183f7963502084c9cc2ec7d7d22ef5b8e499 100644 (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'
 }