pub fn truncate_utf8_tail(s: &str, max_bytes: usize) -> String
Take the last max_bytes of a UTF-8 string without splitting code points.
max_bytes
Returns a string with a ...[truncated]... prefix when truncated.
...[truncated]...