Skip to main content

truncate_chars

Function truncate_chars 

Source
pub fn truncate_chars(s: &str, max: usize) -> Cow<'_, str>