wasmtime_environ::__core::slice::memchr

Function memchr

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

Returns the first index matching the byte x in text.