summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/text/language/language.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-02-13 07:44:04 +0000
committerLibravatar GitHub <noreply@github.com>2023-02-13 07:44:04 +0000
commit33b77b3c1abaa1456bb7f33b0b87dfc85900ca02 (patch)
tree0f1c1ec7b1af74604463bf9bdee576979f443b30 /vendor/golang.org/x/text/language/language.go
parent[chore]: Bump modernc.org/sqlite from 1.20.3 to 1.20.4 (#1484) (diff)
downloadgotosocial-33b77b3c1abaa1456bb7f33b0b87dfc85900ca02.tar.xz
[chore]: Bump golang.org/x/image from 0.3.0 to 0.4.0 (#1485)
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.3.0 to 0.4.0. - [Release notes](https://github.com/golang/image/releases) - [Commits](https://github.com/golang/image/compare/v0.3.0...v0.4.0) --- updated-dependencies: - dependency-name: golang.org/x/image dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/golang.org/x/text/language/language.go')
-rw-r--r--vendor/golang.org/x/text/language/language.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/golang.org/x/text/language/language.go b/vendor/golang.org/x/text/language/language.go
index 289b3a36d..4d9c66121 100644
--- a/vendor/golang.org/x/text/language/language.go
+++ b/vendor/golang.org/x/text/language/language.go
@@ -344,7 +344,7 @@ func (t Tag) Parent() Tag {
return Tag(compact.Tag(t).Parent())
}
-// 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 {