fn has_address(rrsets: &RrsetList) -> bool {
    for rrset in rrsets.iter() {
        if rrset.rr_type == Type::A || rrset.rr_type == Type::AAAA {
            return true;
        }
    }
    false
}
/// Helper to determine whether an [`RrsetList`] contains an address
/// RRset (i.e., an A or AAAA RRset).
Helper to determine whether an [`RrsetList`] contains an address
RRset .
Helper to determine whether an [ ` RrsetList ` ] contains an address RRset .
fn has_address(rrsets: &RrsetList) -> bool {
    for rrset in rrsets.iter() {
        if rrset.rr_type == Type::A || rrset.rr_type == Type::AAAA {
            return true;
        }
    }
    false
}
fn has_address ( rrsets : & RrsetList ) -> bool { for rrset in rrsets . iter ( ) { if rrset . rr_type == Type :: A || rrset . rr_type == Type :: AAAA { return true ; } } false }
Helper to determine whether an [`RrsetList`] contains an address
RRset (i.e., an A or AAAA RRset).
Helper to determine whether an [ ` RrsetList ` ] contains an address RRset ( i . e . an A or AAAA RRset ) .
rrsets
&RrsetList
rrsets
&RrsetList