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