all: remove repetitive words
Change-Id: I496265fcad6dee919eff6fc1fbcf9121ae61730f
Reviewed-on: https://go-review.googlesource.com/c/text/+/509855
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
diff --git a/language/match.go b/language/match.go
index ee45f49..1153baf 100644
--- a/language/match.go
+++ b/language/match.go
@@ -434,7 +434,7 @@
// (their canonicalization simply substitutes a different language code, but
// nothing else), the match confidence is Exact, otherwise it is High.
for i, lm := range language.AliasMap {
- // If deprecated codes match and there is no fiddling with the script or
+ // If deprecated codes match and there is no fiddling with the script
// or region, we consider it an exact match.
conf := Exact
if language.AliasTypes[i] != language.Macro {
diff --git a/secure/precis/gen.go b/secure/precis/gen.go
index 99ead42..aa20568 100644
--- a/secure/precis/gen.go
+++ b/secure/precis/gen.go
@@ -221,12 +221,12 @@
func isIdDisAndFreePVal(r rune) bool {
return unicode.In(r,
// OtherLetterDigits: https://tools.ietf.org/html/rfc7564#section-9.18
- // r in in {Lt, Nl, No, Me}
+ // r in {Lt, Nl, No, Me}
unicode.Lt, unicode.Nl, unicode.No, // Other letters / numbers
unicode.Me, // Modifiers
// Spaces: https://tools.ietf.org/html/rfc7564#section-9.14
- // r in in {Zs}
+ // r in {Zs}
unicode.Zs,
// Symbols: https://tools.ietf.org/html/rfc7564#section-9.15