pub fn trim_to_width(s: &str, budget: usize) -> &strAvailable on crate feature
width only.Expand description
Trims a string to a maximum number of m’s. A budget of 5 would allow five m, or more narrower
characters, or fewer wider characters.