fn misses(&self, ticket: &Ticket) -> Vec<usize> {
        let mut out = Vec::new();
        for num in &ticket.0 {
            if self.0.iter().any(|rule| rule.matches(*num)) {
                continue;
            }
            out.push(*num);
        }
        out
    }
// all the numbers in this ticket that match none of the rules
all the numbers in this ticket that match none of the rules
all the numbers in this ticket that match none of the rules
fn misses(&self, ticket: &Ticket) -> Vec<usize> {
        let mut out = Vec::new();
        for num in &ticket.0 {
            if self.0.iter().any(|rule| rule.matches(*num)) {
                continue;
            }
            out.push(*num);
        }
        out
    }
fn misses ( & self , ticket : & Ticket ) -> Vec < usize > { let mut out = Vec :: new ( ) ; for num in & ticket . 0 { if self . 0 . iter ( ) . any ( | rule | rule . matches ( * num ) ) { continue ; } out . push ( * num ) ; } out }
all the numbers in this ticket that match none of the rules
all the numbers in this ticket that match none of the rules
&self
ticket
&Ticket