diff --git a/Cargo.lock b/Cargo.lock deleted file mode 100644 index 79262b3..0000000 --- a/Cargo.lock +++ /dev/null @@ -1,7 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "jshell" -version = "0.1.0" diff --git a/src/main.rs b/src/main.rs index d4ce347..e7a11a9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,13 +1,3 @@ -use std::{io::stdin, process::Command}; - -fn main(){ - let mut input = String::new(); - stdin().read_line(&mut input).unwrap(); - - // read_line leaves a trailing newline, which trim removes - let command = input.trim(); - - Command::new(command) - .spawn() - .unwrap(); +fn main() { + println!("Hello, world!"); }