diff options
Diffstat (limited to 'src/bytes/bytes_generic.go')
| -rw-r--r-- | src/bytes/bytes_generic.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/bytes/bytes_generic.go b/src/bytes/bytes_generic.go index 0e7d33f09a..347d28473f 100644 --- a/src/bytes/bytes_generic.go +++ b/src/bytes/bytes_generic.go @@ -57,9 +57,3 @@ func Index(s, sep []byte) int { } return -1 } - -// Count counts the number of non-overlapping instances of sep in s. -// If sep is an empty slice, Count returns 1 + the number of UTF-8-encoded code points in s. -func Count(s, sep []byte) int { - return countGeneric(s, sep) -} |
