pub(crate) fn rewrap(line: &mut Vec<String>, cols: usize) {
    *line = textwrap::wrap(&line.join(" "), cols)
        .iter()
        .map(ToString::to_string)
        .collect();
}
/// Rewrap a single line based on the number of columns
Rewrap a single line based on the number of columns
Rewrap a single line based on the number of columns
pub(crate) fn rewrap(line: &mut Vec<String>, cols: usize) {
    *line = textwrap::wrap(&line.join(" "), cols)
        .iter()
        .map(ToString::to_string)
        .collect();
}
pub ( crate ) fn rewrap ( line : & mut Vec < String > , cols : usize ) { * line = textwrap :: wrap ( & line . join ( " " ) , cols ) . iter ( ) . map ( ToString :: to_string ) . collect ( ) ; }
Rewrap a single line based on the number of columns
Rewrap a single line based on the number of columns
line
&mut Vec<String>
cols
usize
line
&mut Vec<String>
cols
usize