aboutsummaryrefslogtreecommitdiff
path: root/util/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'util/main.rs')
-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);
}