aboutsummaryrefslogtreecommitdiff
path: root/src/strings/strings_amd64.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings/strings_amd64.go')
-rw-r--r--src/strings/strings_amd64.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings/strings_amd64.go b/src/strings/strings_amd64.go
index 91b29ce358..55bf2d2f6f 100644
--- a/src/strings/strings_amd64.go
+++ b/src/strings/strings_amd64.go
@@ -7,7 +7,7 @@ package strings
// indexShortStr returns the index of the first instance of c in s, or -1 if c is not present in s.
// indexShortStr requires 2 <= len(c) <= shortStringLen
func indexShortStr(s, c string) int // ../runtime/asm_$GOARCH.s
-const shortStringLen = 16 // TODO: restore to 31 when #15679 is fixed
+const shortStringLen = 31
// Index returns the index of the first instance of sep in s, or -1 if sep is not present in s.
func Index(s, sep string) int {