all: fix some comments

Change-Id: I1ae88db264cb5fb513773241ec2a8e7694c8c6e5
Reviewed-on: https://go-review.googlesource.com/c/text/+/480175
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
diff --git a/collate/maketables.go b/collate/maketables.go
index 4175143..d1fb439 100644
--- a/collate/maketables.go
+++ b/collate/maketables.go
@@ -286,7 +286,7 @@
 
 var mainLocales = []string{}
 
-// charsets holds a list of exemplar characters per category.
+// charSets holds a list of exemplar characters per category.
 type charSets map[string][]string
 
 func (p charSets) fprint(w io.Writer) {
diff --git a/internal/cldrtree/option.go b/internal/cldrtree/option.go
index 33b6103..ca0d447 100644
--- a/internal/cldrtree/option.go
+++ b/internal/cldrtree/option.go
@@ -36,7 +36,7 @@
 	}
 }
 
-// Enum defines a enumeration type. The resulting option may be passed for the
+// Enum defines an enumeration type. The resulting option may be passed for the
 // construction of multiple Indexes, which they will share the same enum values.
 // Calling Gen on a Builder will generate the Enum for the given name. The
 // optional values fix the values for the given identifier to the argument
diff --git a/language/httpexample_test.go b/language/httpexample_test.go
index 03c0ab9..b12a585 100644
--- a/language/httpexample_test.go
+++ b/language/httpexample_test.go
@@ -19,7 +19,7 @@
 	language.German,
 })
 
-// handler is a http.HandlerFunc.
+// handler is an http.HandlerFunc.
 func handler(w http.ResponseWriter, r *http.Request) {
 	t, q, err := language.ParseAcceptLanguage(r.Header.Get("Accept-Language"))
 	// We ignore the error: the default language will be selected for t == nil.