lexical_util::algorithm

Function 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.