Function memchr_naive

Source
const fn memchr_naive(x: u8, text: &[u8]) -> Option<usize>
🔬This is a nightly-only experimental API. (slice_internals)