mirror of
https://gitlab.com/MisterBiggs/aoc2021.git
synced 2025-06-16 06:56:48 +00:00
fix day 2 code
This commit is contained in:
parent
cb5a1dde18
commit
8dbc567784
@ -1,7 +1,7 @@
|
|||||||
use std::fs;
|
use std::fs;
|
||||||
|
|
||||||
fn main() {
|
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
|
let commands: Vec<(&str, i32)> = input
|
||||||
.lines()
|
.lines()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user