diff options
Diffstat (limited to '2022/main.rs')
-rw-r--r-- | 2022/main.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/2022/main.rs b/2022/main.rs new file mode 100644 index 0000000..2cad662 --- /dev/null +++ b/2022/main.rs @@ -0,0 +1,8 @@ +use std::env; +use std::fs; + +fn main() { + let args = env::args().nth(1).expect(""); + let input = fs::read_to_string(args).expect(""); + println!("{}", input); +} |