- let count = tally
- .get(&c)
- .map(|supporters| supporters.len())
- .unwrap_or(0);
- let checked = if me.map(|me| supports(&tally, me, &c)).unwrap_or(false) {
+ let count = tally.get(&c).map_or(0, std::collections::HashSet::len);
+ let checked = if me.map_or(false, |me| supports(&tally, me, &c)) {