Function core::slice::memchr::memrchr

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

返回与 text 中的字节 x 匹配的最后一个索引。