style(main): remove unused result warnings in main.rs
All checks were successful
Release / Release (push) Successful in 33s
All checks were successful
Release / Release (push) Successful in 33s
This commit is contained in:
parent
797f401cf3
commit
5961309bab
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user