style(main): remove unused result warnings in main.rs
All checks were successful
Release / Release (push) Successful in 33s

This commit is contained in:
Jan Gleytenhoover 2024-08-28 12:36:07 +02:00
parent 797f401cf3
commit 5961309bab
Signed by: jank
GPG Key ID: B267751B8AE29EFE

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