From f5f940c52b38a5e17092f5896dc2fc13e8443478 Mon Sep 17 00:00:00 2001 From: j-james Date: Fri, 2 Dec 2022 18:39:47 -0800 Subject: Day Two --- util/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/main.rs b/util/main.rs index 8b1acab..f6f1868 100644 --- a/util/main.rs +++ b/util/main.rs @@ -2,7 +2,7 @@ use std::env; use std::fs; fn main() { - let args = env::args().nth(1).unwrap(); + let args = env::args().nth(1).expect("missing input"); let input = fs::read_to_string(args).unwrap(); println!("{}", input); } -- cgit v1.2.3-70-g09d2