From 06f4fd9d03c856311004d3e55e3f33f884573d48 Mon Sep 17 00:00:00 2001 From: Philip Molares <philip.molares@udo.edu> Date: Sat, 5 Dec 2020 12:37:58 +0100 Subject: [PATCH] removed unnecessary code from day02 Signed-off-by: Philip Molares <philip.molares@udo.edu> --- day02/src/main.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/day02/src/main.rs b/day02/src/main.rs index 0655f50..56f8ce4 100644 --- a/day02/src/main.rs +++ b/day02/src/main.rs @@ -80,16 +80,6 @@ fn main() -> io::Result<()> { .count(); println!("Answer Part 1: {}", correct_passwords); - - // let file2 = File::open("input.txt")?; - // let reader2 = BufReader::new(file); - - /* let input2 = reader2 - .lines() - .map(|l| { - Entry::from_str(&l.unwrap()).unwrap() - }) - .collect::<Vec<Entry>>(); */ let correct_passwords2 = input .iter() -- GitLab