aboutsummaryrefslogtreecommitdiff
path: root/src/strconv/quote.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/strconv/quote.go')
-rw-r--r--src/strconv/quote.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/strconv/quote.go b/src/strconv/quote.go
index bcbdbc514d..4ffa10b72e 100644
--- a/src/strconv/quote.go
+++ b/src/strconv/quote.go
@@ -7,7 +7,6 @@
package strconv
import (
- "internal/bytealg"
"unicode/utf8"
)
@@ -436,11 +435,6 @@ func Unquote(s string) (string, error) {
return string(buf), nil
}
-// contains reports whether the string contains the byte c.
-func contains(s string, c byte) bool {
- return bytealg.IndexByteString(s, c) != -1
-}
-
// bsearch16 returns the smallest i such that a[i] >= x.
// If there is no such i, bsearch16 returns len(a).
func bsearch16(a []uint16, x uint16) int {