From 88a7832dad30d0540ca89df77bf376b27df21b00 Mon Sep 17 00:00:00 2001 From: Muaz Ahmad Date: Fri, 6 Oct 2023 12:43:23 +0500 Subject: [PATCH] rename varname for debug string --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 18b9060..e1e45c4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -22,11 +22,11 @@ fn process(error_handles: [mpsc::Receiver>; 4]) -> Re fn main() { let error_handles = match init() { Ok(x) => x, - Err(x) => {dbg!(x); exit(1);} + Err(err) => {dbg!(err); exit(1);} }; match process(error_handles) { Ok(_) => (), - Err(x) => {dbg!(x); exit(1)} + Err(err) => {dbg!(err); exit(1)} }; exit(0); }