pub(crate) fn wrap_str(line: &str, cols: usize) -> Vec<String> {
    textwrap::wrap(line, cols)
        .iter()
        .map(ToString::to_string)
        .collect::<Vec<String>>()
}
/// Wrap a line of string into a `Vec<String>` based on the number of columns
Wrap a line of string into a `Vec` based on the number of columns
Wrap a line of string into a ` Vec ` based on the number of columns
pub(crate) fn wrap_str(line: &str, cols: usize) -> Vec<String> {
    textwrap::wrap(line, cols)
        .iter()
        .map(ToString::to_string)
        .collect::<Vec<String>>()
}
pub ( crate ) fn wrap_str ( line : & str , cols : usize ) -> Vec < String > { textwrap :: wrap ( line , cols ) . iter ( ) . map ( ToString :: to_string ) . collect :: < Vec < String > > ( ) }
Wrap a line of string into a `Vec<String>` based on the number of columns
Wrap a line of string into a ` Vec<String > ` based on the number of columns
line
&str
cols
usize
line
&str
cols
usize