From 8dbc56778464f1c5d27fe204082600792d246a6b Mon Sep 17 00:00:00 2001 From: Anson Biggs Date: Thu, 2 Dec 2021 00:06:22 -0700 Subject: [PATCH] fix day 2 code --- day2/rust/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day2/rust/src/main.rs b/day2/rust/src/main.rs index b388bba..b201bc2 100644 --- a/day2/rust/src/main.rs +++ b/day2/rust/src/main.rs @@ -1,7 +1,7 @@ use std::fs; fn main() { - let input = fs::read_to_string("./input.txt").expect("Could not read file"); + let input = fs::read_to_string("../input.txt").expect("Could not read file"); let commands: Vec<(&str, i32)> = input .lines()