QuackatronHQ / Gigarepo

Found unnecessary fold RS-W1022
Anti-pattern
Minor
1 occurrence in this check
Simplfy this fold call to all(|x| x == target)
 66        rows.chain(columns)
 67            .chain(diags)
 68            .map(|triple| {
 69                triple 70                    .iter() 71                    .map(|&i| self.get_state(i)) 72                    .fold(true, |acc, x| acc && x == target) 73            })
 74            .any(id)
 75    }