[][src]Module core::slice::memchr

🔬 This is a nightly-only experimental API. (slice_internals #0)

exposed from core to be reused in std; use the memchr crate

Pure rust memchr implementation, taken from rust-memchr

Functions

memchrExperimental

Returns the first index matching the byte x in text.

memrchrExperimental

Returns the last index matching the byte x in text.