Skip to content

Commit 48e4a4a

Browse files
cuishuanggopherbot
authored andcommitted
all: fix some comments
Change-Id: I1ae88db264cb5fb513773241ec2a8e7694c8c6e5 Reviewed-on: https://go-review.googlesource.com/c/text/+/480175 Reviewed-by: Ian Lance Taylor <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 9db913a commit 48e4a4a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

collate/maketables.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ var tagRe = regexp.MustCompile(`<([a-z_]*) */>`)
286286

287287
var mainLocales = []string{}
288288

289-
// charsets holds a list of exemplar characters per category.
289+
// charSets holds a list of exemplar characters per category.
290290
type charSets map[string][]string
291291

292292
func (p charSets) fprint(w io.Writer) {

internal/cldrtree/option.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func (o *options) setAlias(n Element) {
3636
}
3737
}
3838

39-
// Enum defines a enumeration type. The resulting option may be passed for the
39+
// Enum defines an enumeration type. The resulting option may be passed for the
4040
// construction of multiple Indexes, which they will share the same enum values.
4141
// Calling Gen on a Builder will generate the Enum for the given name. The
4242
// optional values fix the values for the given identifier to the argument

language/httpexample_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var matcher = language.NewMatcher([]language.Tag{
1919
language.German,
2020
})
2121

22-
// handler is a http.HandlerFunc.
22+
// handler is an http.HandlerFunc.
2323
func handler(w http.ResponseWriter, r *http.Request) {
2424
t, q, err := language.ParseAcceptLanguage(r.Header.Get("Accept-Language"))
2525
// We ignore the error: the default language will be selected for t == nil.

0 commit comments

Comments
 (0)