Skip to main content

truncate_to_boundary

Function truncate_to_boundary 

Source
fn truncate_to_boundary(text: &str, max_bytes: usize) -> Option<&str>