fn remove_integers(list: &[String]) -> Vec<String> {
    let mut new_list = list.to_vec();
    new_list.retain(|word| !word.chars().any(|c| c.is_numeric()));
    new_list
}
/// Search inputted list for any words that have any
/// integers in them (as determined by `is_numeric()`).
/// Retain only words that don't have any integers in them.
Search inputted list for any words that have any
integers in them (as determined by `is_numeric()`).
Retain only words that don't have any integers in them.
Search inputted list for any words that have any integers in them ( as determined by ` is_numeric () ` ) . Retain only words that don ' t have any integers in them .
fn remove_integers(list: &[String]) -> Vec<String> {
    let mut new_list = list.to_vec();
    new_list.retain(|word| !word.chars().any(|c| c.is_numeric()));
    new_list
}
fn remove_integers ( list : & [ String ] ) -> Vec < String > { let mut new_list = list . to_vec ( ) ; new_list . retain ( | word | ! word . chars ( ) . any ( | c | c . is_numeric ( ) ) ) ; new_list }
Search inputted list for any words that have any
integers in them (as determined by `is_numeric()`).
Search inputted list for any words that have any integers in them ( as determined by ` is_numeric () ` ) .
list
&[String]
list
&[String]