diff --git a/language/match.go b/language/match.go index ee45f494..1153baf2 100644 --- a/language/match.go +++ b/language/match.go @@ -434,7 +434,7 @@ func newMatcher(supported []Tag, options []MatchOption) *matcher { // (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 99ead429..aa20568c 100644 --- a/secure/precis/gen.go +++ b/secure/precis/gen.go @@ -221,12 +221,12 @@ func isLetterDigits(r rune) bool { 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