core
1.77.0
(aedd173a2 2024-03-17)
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
.