Function lexical_util::algorithm::rtrim_char_count
source ยท pub fn rtrim_char_count(slc: &[u8], c: u8) -> usize
Expand description
Count the number of trailing characters equal to a given value.
pub fn rtrim_char_count(slc: &[u8], c: u8) -> usize
Count the number of trailing characters equal to a given value.