From ef9caca90d8dc59ab394282501083154ee6c9892 Mon Sep 17 00:00:00 2001 From: JSKitty Date: Wed, 26 Oct 2022 11:29:16 +0100 Subject: [PATCH] Remove old thread limitation --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 761e761..c9746ef 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,7 +35,7 @@ fn main() { } // VanityGen Threads: only needed if a target prefix is selected - if arg.starts_with("--threads=") && target.len() > 1 { + if arg.starts_with("--threads=") { // User-set count OR system available_paralellism threads = arg[10..].parse().unwrap_or(0); }