Function lexical_util::algorithm::rtrim_char_slice
source ยท pub fn rtrim_char_slice(slc: &[u8], c: u8) -> (&[u8], usize)
Expand description
Trim character from the end (right-side) of a slice.
pub fn rtrim_char_slice(slc: &[u8], c: u8) -> (&[u8], usize)
Trim character from the end (right-side) of a slice.