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