Skip to main content

trim_byte

Function trim_byte 

Source
pub fn trim_byte(s: &[u8], byte: u8) -> &[u8] 
Expand description

Strips all leading and trailing occurrences of byte from s.