From 71c8f1c3d5fa7c991ae31242318a40473d68e9e0 Mon Sep 17 00:00:00 2001 From: ascendforever Date: Tue, 24 Oct 2023 19:04:22 -0400 Subject: [PATCH] removed unnecessary `if` --- src/main.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index aa23805..26ae19e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -92,9 +92,6 @@ fn process_args() -> (Vec>, Config) { let run_paths: Vec> = run_targets.iter().enumerate().map( |(i,spaths)| { - if spaths.len() == 0 { - return - } spaths.iter().map( |spath| Path::new(spath).canonicalize().unwrap_or_else( |_| {