From: Greg Burri Date: Sat, 3 Dec 2022 18:18:15 +0000 (+0100) Subject: Remove useless imports X-Git-Url: https://git.euphorik.ch/?a=commitdiff_plain;h=3515771a8463c12272e67ee4e7d5281d60ba7cbb;p=advent_of_code_2022.git Remove useless imports --- 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() }