fn truncate(s: &str, max_len: usize) -> &strExpand description
Truncate a string to at most max_len bytes, cutting at a char boundary.
No ellipsis: these are argument summaries that already sit inside quotes or
a label, and a … reads as part of the path.
crate::utils::text::truncate_with_ellipsis is the variant that marks
the cut.