From 69b92fab7e55835bd2fc1257ca117533d9e6b9c8 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Sat, 26 Sep 2020 07:37:46 +0200 Subject: [PATCH] src/tools/parallel_handler.rs: remove unnecessary Sync trait bound --- src/tools/parallel_handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/parallel_handler.rs b/src/tools/parallel_handler.rs index 9dbbcdff..855cd690 100644 --- a/src/tools/parallel_handler.rs +++ b/src/tools/parallel_handler.rs @@ -57,7 +57,7 @@ impl ParallelHandler { threads: usize, handler_fn: F, ) -> Self - where F: Fn(I) -> Result<(), Error> + Send + Sync + Clone + 'static, + where F: Fn(I) -> Result<(), Error> + Send + Clone + 'static, { let mut handles = Vec::new(); let (input_tx, input_rx) = bounded::(threads);