rename varname for debug string

This commit is contained in:
Muaz Ahmad 2023-10-06 12:43:23 +05:00
parent a654d17b7c
commit 88a7832dad

View file

@ -22,11 +22,11 @@ fn process(error_handles: [mpsc::Receiver<Box<dyn std::error::Error>>; 4]) -> Re
fn main() { fn main() {
let error_handles = match init() { let error_handles = match init() {
Ok(x) => x, Ok(x) => x,
Err(x) => {dbg!(x); exit(1);} Err(err) => {dbg!(err); exit(1);}
}; };
match process(error_handles) { match process(error_handles) {
Ok(_) => (), Ok(_) => (),
Err(x) => {dbg!(x); exit(1)} Err(err) => {dbg!(err); exit(1)}
}; };
exit(0); exit(0);
} }