From: po3rin Date: Fri, 6 Dec 2019 19:44:39 +0000 (+0900) Subject: strings: fix nonexistent path in comment X-Git-Tag: go1.14beta1~47 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bf865823ba;p=gostls13.git strings: fix nonexistent path in comment There is a part in the comment that points to a non-existent file. It seems to have been overlooked in following PR. https://go-review.googlesource.com/c/go/+/98518/ Change-Id: I21dbfbd270c654d5cd7fa88d114a356862612d90 Reviewed-on: https://go-review.googlesource.com/c/go/+/210298 Reviewed-by: Brad Fitzpatrick --- 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