diff options
Diffstat (limited to 'src/strings')
| -rw-r--r-- | src/strings/strings.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings/strings.go b/src/strings/strings.go index 869cdcdcef..69f51b6e2d 100644 --- a/src/strings/strings.go +++ b/src/strings/strings.go @@ -1094,7 +1094,7 @@ func Index(s, substr string) int { i++ fails++ if fails >= 4+i>>4 && i < t { - // See comment in ../bytes/bytes_generic.go. + // See comment in ../bytes/bytes.go. j := indexRabinKarp(s[i:], substr) if j < 0 { return -1 |
