mirror of
https://gitlab.com/MisterBiggs/aoc2021.git
synced 2025-08-02 19:31:22 +00:00
fix day 2 code
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user