From 3515771a8463c12272e67ee4e7d5281d60ba7cbb Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Sat, 3 Dec 2022 19:18:15 +0100 Subject: [PATCH] Remove useless imports --- src/day03.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/day03.rs b/src/day03.rs index b38bc82..c798497 100644 --- a/src/day03.rs +++ b/src/day03.rs @@ -1,11 +1,7 @@ -use std::io::BufRead; - -use itertools::Itertools; - pub fn parse(s: &str) -> Vec> { 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() } -- 2.45.2