core
1.83.0-nightly
(8cab7abcb 2024-11-01) (Ferrocene by Ferrous Systems)
Module memchr
Module Items
Functions
In core::
slice
Module
core
::
slice
::
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
.