1 2 3 4 5 6 7 8
use std::env; use std::fs; fn main() { let args = env::args().nth(1).expect("missing input"); let input = fs::read_to_string(args).unwrap(); println!("{}", input); }