diff options
Diffstat (limited to 'src/strings/strings_generic.go')
| -rw-r--r-- | src/strings/strings_generic.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/strings/strings_generic.go b/src/strings/strings_generic.go index b2af48bec8..ac3b8dce85 100644 --- a/src/strings/strings_generic.go +++ b/src/strings/strings_generic.go @@ -53,9 +53,3 @@ func Index(s, substr string) int { } return -1 } - -// Count counts the number of non-overlapping instances of substr in s. -// If substr is an empty string, Count returns 1 + the number of Unicode code points in s. -func Count(s, substr string) int { - return countGeneric(s, substr) -} |
