Skip to main content

truncate_str

Function truncate_str 

Source
pub fn truncate_str(input: &str, max_width: usize) -> &str
Expand description

truncate over UTF-8 str.