fn fuzzy_match(haystack: &str, needle: &str) -> bool {
    return haystack
        .to_lowercase()
        .contains(needle.to_lowercase().as_str());
}
// Reports if the needle has a fuzzy match with the haystack.
//
// It is assumed that the haystack is the name of an identifier and the needle is a partial
// identifier.
Reports if the needle has a fuzzy match with the haystack.
It is assumed that the haystack is the name of an identifier and the needle is a partial
identifier.
Reports if the needle has a fuzzy match with the haystack . It is assumed that the haystack is the name of an identifier and the needle is a partial identifier .
fn fuzzy_match(haystack: &str, needle: &str) -> bool {
    return haystack
        .to_lowercase()
        .contains(needle.to_lowercase().as_str());
}
fn fuzzy_match ( haystack : & str , needle : & str ) -> bool { return haystack . to_lowercase ( ) . contains ( needle . to_lowercase ( ) . as_str ( ) ) ; }
Reports if the needle has a fuzzy match with the haystack.
Reports if the needle has a fuzzy match with the haystack .
haystack
&str
needle
&str