pub fn truncate(s: &str, max: usize) -> String
Truncate a string to max characters, appending ... if needed.
max
...