aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorj-james2022-12-03 02:39:47 +0000
committerj-james2022-12-03 02:39:47 +0000
commitf5f940c52b38a5e17092f5896dc2fc13e8443478 (patch)
tree433ebcfee2ea54432734b44d8f51f95fc5ac8a69 /util
parent13b3ae4211631c74b9249a6033869f75e036fad2 (diff)
Day Two
Diffstat (limited to 'util')
-rw-r--r--util/main.rs2
1 files changed, 1 insertions, 1 deletions
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);
}