rustc_
std_
workspace_
core
1.89.0-nightly-777d37277-2025-05-17
Module memchr
Module Items
Functions
In rustc_
std_
workspace_
core::
slice
rustc_std_workspace_core
::
slice
Module
memchr
Copy item path
Source
🔬
This is a nightly-only experimental API. (
slice_internals
)
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
.