commit | bf865823baecefbf2996a9b56bdb8b73a387fbc9 | [log] [tgz] |
---|---|---|
author | po3rin <abctail30@gmail.com> | Sat Dec 07 04:44:39 2019 +0900 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Fri Dec 06 20:12:47 2019 +0000 |
tree | d15afd69834a41dbf3563383e08a2a3d0cdd3642 | |
parent | b2a5893f44ee4426caffc33bbca907a05efe6b57 [diff] |
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 <bradfitz@golang.org>
diff --git a/src/strings/strings.go b/src/strings/strings.go index 869cdcd..69f51b6 100644 --- a/src/strings/strings.go +++ b/src/strings/strings.go
@@ -1094,7 +1094,7 @@ 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