summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/text/internal/language/compact
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/text/internal/language/compact')
-rw-r--r--vendor/golang.org/x/text/internal/language/compact/language.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/golang.org/x/text/internal/language/compact/language.go b/vendor/golang.org/x/text/internal/language/compact/language.go
index 83816a72..8c1b6666 100644
--- a/vendor/golang.org/x/text/internal/language/compact/language.go
+++ b/vendor/golang.org/x/text/internal/language/compact/language.go
@@ -118,7 +118,7 @@ func (t Tag) Parent() Tag {
return Tag{language: lang, locale: lang}
}
-// returns token t and the rest of the string.
+// nextToken returns token t and the rest of the string.
func nextToken(s string) (t, tail string) {
p := strings.Index(s[1:], "-")
if p == -1 {