Skip to main content

memchr

Function memchr 

Source
pub fn memchr<'a>(
    needle: u8,
    haystacks: impl IntoIterator<Item = &'a [u8]>,
) -> Option<usize>
Expand description

Variant of [memchr::memchr()] for a discontiguous haystack.