Function cargo::util::truncate_with_ellipsis

source ยท
pub fn truncate_with_ellipsis(s: &str, max_width: usize) -> String