core::slice::memchr

Function memrchr

Source
pub fn memrchr(x: u8, text: &[u8]) -> Option<usize>
🔬This is a nightly-only experimental API. (slice_internals)
Expand description

Returns the last index matching the byte x in text.