From 303b9dbe6e8b4449a8ddcdfb6bd7969760eb3370 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Fri, 12 Aug 2022 22:38:11 +0200 Subject: [PATCH] Stuff --- src/scanner.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scanner.rs b/src/scanner.rs index 86260ee..1966e23 100644 --- a/src/scanner.rs +++ b/src/scanner.rs @@ -111,7 +111,7 @@ pub fn start_scan( let mut result = worker.join(); match result { - Ok(_) => let result = result.unwrap(), + Ok(_) => return result.unwrap(), Err(e) => panic!(":(") }