diff --git a/src/ipv4.rs b/src/ipv4.rs index ae2a50f..5a55216 100644 --- a/src/ipv4.rs +++ b/src/ipv4.rs @@ -71,7 +71,7 @@ impl IPv4Range { Self { id_start: from, id_end: to, - id_ignore: id_ignore.to_vec() + id_ignore: id_ignore.to_vec(), } } } diff --git a/src/scanner.rs b/src/scanner.rs index 8ef6902..9f4d126 100644 --- a/src/scanner.rs +++ b/src/scanner.rs @@ -70,12 +70,7 @@ fn start_scan( let id_ignorelist = ignorelist.unwrap().cloned().unwrap_or_else(Vec::new()); // Create a worker - let worker = create_scan_worker( - thread_id, - ips_per_thread, - target_port, - id_ignorelist - ); + let worker = create_scan_worker(thread_id, ips_per_thread, target_port, id_ignorelist); threads.push(worker); }