1 2 3 4 5 6 7
/// noramlize string for comparison pub fn flatten_str(s: &str) -> String { s.to_ascii_lowercase() .chars() .filter(|c| c.is_alphanumeric()) .collect() }