core::slice::memchr - Rust
Description: Pure rust memchr implementation, taken from rust-memchr
Keywords: rust, rustlang, rust-lang, memchr

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

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

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

Expand description

Pure rust memchr implementation, taken from rust-memchr

## Functions

memchr | Experimental Returns the first index matching the byte `x` in `text`.
memrchr | Experimental Returns the last index matching the byte `x` in `text`.