fn fmtp_consist(a: &HashMap<String, String>, b: &HashMap<String, String>) -> bool {
    //TODO: add unicode case-folding equal support
    for (k, v) in a {
        if let Some(vb) = b.get(k) {
            if vb.to_uppercase() != v.to_uppercase() {
                return false;
            }
        }
    }
    for (k, v) in b {
        if let Some(va) = a.get(k) {
            if va.to_uppercase() != v.to_uppercase() {
                return false;
            }
        }
    }
    true
}
/// fmtp_consist checks that two FMTP parameters are not inconsistent.
fmtp_consist checks that two FMTP parameters are not inconsistent.
fmtp_consist checks that two FMTP parameters are not inconsistent .
fn fmtp_consist(a: &HashMap<String, String>, b: &HashMap<String, String>) -> bool {
    //TODO: add unicode case-folding equal support
    for (k, v) in a {
        if let Some(vb) = b.get(k) {
            if vb.to_uppercase() != v.to_uppercase() {
                return false;
            }
        }
    }
    for (k, v) in b {
        if let Some(va) = a.get(k) {
            if va.to_uppercase() != v.to_uppercase() {
                return false;
            }
        }
    }
    true
}
fn fmtp_consist ( a : & HashMap < String , String > , b : & HashMap < String , String > ) -> bool { //TODO: add unicode case-folding equal support for ( k , v ) in a { if let Some ( vb ) = b . get ( k ) { if vb . to_uppercase ( ) != v . to_uppercase ( ) { return false ; } } } for ( k , v ) in b { if let Some ( va ) = a . get ( k ) { if va . to_uppercase ( ) != v . to_uppercase ( ) { return false ; } } } true }
fmtp_consist checks that two FMTP parameters are not inconsistent.
fmtp_consist checks that two FMTP parameters are not inconsistent .
a
&HashMap<String, String>
b
&HashMap<String, String>