Skip to content
Snippets Groups Projects
Commit 06f4fd9d authored by Philip Molares's avatar Philip Molares :popcorn:
Browse files

removed unnecessary code from day02

parent 09259cf8
No related branches found
No related tags found
No related merge requests found
......@@ -81,16 +81,6 @@ fn main() -> io::Result<()> {
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()
.map(|entry| entry.check_password2())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment