Skip to content

Commit ab07ad1

Browse files
cuishuanggopherbot
authored andcommitted
all: remove repetitive words
Change-Id: I496265fcad6dee919eff6fc1fbcf9121ae61730f Reviewed-on: https://go-review.googlesource.com/c/text/+/509855 Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]>
1 parent e503480 commit ab07ad1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

language/match.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ func newMatcher(supported []Tag, options []MatchOption) *matcher {
434434
// (their canonicalization simply substitutes a different language code, but
435435
// nothing else), the match confidence is Exact, otherwise it is High.
436436
for i, lm := range language.AliasMap {
437-
// If deprecated codes match and there is no fiddling with the script or
437+
// If deprecated codes match and there is no fiddling with the script
438438
// or region, we consider it an exact match.
439439
conf := Exact
440440
if language.AliasTypes[i] != language.Macro {

secure/precis/gen.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,12 +221,12 @@ func isLetterDigits(r rune) bool {
221221
func isIdDisAndFreePVal(r rune) bool {
222222
return unicode.In(r,
223223
// OtherLetterDigits: https://tools.ietf.org/html/rfc7564#section-9.18
224-
// r in in {Lt, Nl, No, Me}
224+
// r in {Lt, Nl, No, Me}
225225
unicode.Lt, unicode.Nl, unicode.No, // Other letters / numbers
226226
unicode.Me, // Modifiers
227227

228228
// Spaces: https://tools.ietf.org/html/rfc7564#section-9.14
229-
// r in in {Zs}
229+
// r in {Zs}
230230
unicode.Zs,
231231

232232
// Symbols: https://tools.ietf.org/html/rfc7564#section-9.15

0 commit comments

Comments
 (0)