diff --git a/src/main.rs b/src/main.rs index 6085b11..2d7fefa 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,7 +3,7 @@ use std::{env, io::{stdin, stdout, Write}, path::Path, process::{Child, Command, fn main(){ loop { print!("> "); - stdout().flush(); + let _ = stdout().flush(); let mut input = String::new(); stdin().read_line(&mut input).unwrap(); @@ -66,7 +66,7 @@ fn main(){ if let Some(mut final_command) = previous_command { // block until the final command has finished - final_command.wait(); + let _ = final_command.wait(); } }