Clippy fixes
This commit is contained in:
parent
7663397c1b
commit
0272d77d6b
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ fn part2(lines: &[String]) {
|
|||
|
||||
let outlier = chunk[GROUP_SIZE - 1]
|
||||
.chars()
|
||||
.find(|c| sets[0..GROUP_SIZE - 1].into_iter().all(|s| s.contains(&c)))
|
||||
.find(|c| sets[0..GROUP_SIZE - 1].iter().all(|s| s.contains(c)))
|
||||
.expect("Expect at least one outlier");
|
||||
|
||||
let priority = to_priority(outlier).unwrap();
|
||||
|
|
Loading…
Reference in a new issue