Remove useless imports
authorGreg Burri <greg.burri@gmail.com>
Sat, 3 Dec 2022 18:18:15 +0000 (19:18 +0100)
committerGreg Burri <greg.burri@gmail.com>
Sat, 3 Dec 2022 18:18:15 +0000 (19:18 +0100)
src/day03.rs

index b38bc82..c798497 100644 (file)
@@ -1,11 +1,7 @@
-use std::io::BufRead;
-
-use itertools::Itertools;
-
 pub fn parse(s: &str) -> Vec<Vec<u8>> {
     s.lines()
         .map(|l| {
-            l.as_bytes().into_iter().map(letter_to_priority).collect_vec()
+            l.as_bytes().into_iter().map(letter_to_priority).collect()
         }).collect()
 }