Function core::slice::memchr::memrchr [−][src]
pub fn memrchr(x: u8, text: &[u8]) -> Option<usize>🔬 This is a nightly-only experimental API. (slice_internals)
exposed from core to be reused in std; use the memchr crate
This is supported on non-crate feature
miri-test-libstd or test or doctest only.Expand description
Returns the last index matching the byte x in text.