pub fn wrap_ranges_trim<'a, O>(
text: &str,
width_or_options: O,
) -> Vec<Range<usize>>Expand description
Like wrap_ranges but returns ranges without trailing whitespace and
without the sentinel extra byte. Suitable for general wrapping where
trailing spaces should not be preserved.