core
1.79.0-nightly
(88c2f4f5f 2024-04-02)
Module memchr
Functions
In core::slice
?
Module
core
::
slice
::
memchr
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
.