diff --git a/src/main.rs b/src/main.rs index 0248647..631d390 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,11 @@ use std::io; use std::io::Write; +fn exit() { + println!("exit"); + std::process::exit(0); +} + fn main() { let mut user_input = String::new(); let mut bytes_read = 1;