pub fn truncate_chars(s: &str, max_chars: usize) -> String
Truncate s to at most max_chars characters (char-boundary safe, no ellipsis – the amendment specifies “truncated”, not a marker suffix).
s
max_chars