core
1.84.0-nightly
(79cfbf8b3 2024-11-22) (Ferrocene by Ferrous Systems)
Module memchr
Module Items
Functions
In core::
slice
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
.