pub fn contains_bytes(haystack: &[u8], needle: &[u8]) -> boolExpand description
Does the same for bytes that haystack.contains(needle) does for
strings. (This will be in std in the future:
https://github.com/rust-lang/rust/issues/134149)
pub fn contains_bytes(haystack: &[u8], needle: &[u8]) -> boolDoes the same for bytes that haystack.contains(needle) does for
strings. (This will be in std in the future:
https://github.com/rust-lang/rust/issues/134149)