Commit ed925490 authored by Andrew Gerrand's avatar Andrew Gerrand

bytes: fix typo and resolve to be less idiotic next time

R=bradfitz
CC=golang-dev
https://golang.org/cl/5340044
parent 1a4402a1
......@@ -89,7 +89,7 @@ func Count(s, sep []byte) int {
}
// Contains returns whether subslice is within b.
func Contains(b, subslice []string) bool {
func Contains(b, subslice []byte) bool {
return Index(b, subslice) != -1
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment