fn string_to_nums(s: &String) -> Vec<usize> {
    string_to_vec(s)
        .into_iter()
        .map(|x| char_to_num(x))
        .collect::<Vec<usize>>()
}
// Convert a string into a vector of numbers
Convert a string into a vector of numbers
Convert a string into a vector of numbers
fn string_to_nums(s: &String) -> Vec<usize> {
    string_to_vec(s)
        .into_iter()
        .map(|x| char_to_num(x))
        .collect::<Vec<usize>>()
}
fn string_to_nums ( s : & String ) -> Vec < usize > { string_to_vec ( s ) . into_iter ( ) . map ( | x | char_to_num ( x ) ) . collect :: < Vec < usize > > ( ) }
Convert a string into a vector of numbers
Convert a string into a vector of numbers
s
&String
s
&String