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

R=bradfitz
CC=golang-dev
https://golang.org/cl/5340044
This commit is contained in:
Andrew Gerrand 2011-11-04 17:55:21 +11:00
parent 1a4402a1fe
commit ed92549071

View file

@ -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
}