From eef8fa62a0e1c5b9f6e3a91ef93179519a3803cc Mon Sep 17 00:00:00 2001 From: epi Date: Wed, 27 Jan 2021 07:38:00 -0600 Subject: [PATCH] removed todo/clippy --- src/event_handlers/container.rs | 2 +- tests/test_scanner.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/event_handlers/container.rs b/src/event_handlers/container.rs index aa9eb9f..c19b99e 100644 --- a/src/event_handlers/container.rs +++ b/src/event_handlers/container.rs @@ -77,7 +77,7 @@ impl Handles { let filters_handle = FiltersHandle::new(Arc::new(FeroxFilters::default()), tx.clone()); let handles = Self::new(stats_handle, filters_handle, terminal_handle); if let Some(sh) = scanned_urls { - let scan_handle = ScanHandle::new(sh, tx.clone()); + let scan_handle = ScanHandle::new(sh, tx); handles.scan_handle(scan_handle); } (handles, rx) diff --git a/tests/test_scanner.rs b/tests/test_scanner.rs index b2d3a5e..173a5fe 100644 --- a/tests/test_scanner.rs +++ b/tests/test_scanner.rs @@ -258,8 +258,6 @@ fn scanner_single_request_scan_with_invalid_file_output() -> Result<(), Box