From 12e3b4c70b5ef23b2fdfc197296d483680e125f9 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 8 Feb 2019 14:49:43 +0300 Subject: reformat the world --- crates/thread_worker/src/lib.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'crates/thread_worker/src/lib.rs') diff --git a/crates/thread_worker/src/lib.rs b/crates/thread_worker/src/lib.rs index 5e46f62fe..ca0aad136 100644 --- a/crates/thread_worker/src/lib.rs +++ b/crates/thread_worker/src/lib.rs @@ -71,12 +71,5 @@ impl WorkerHandle { fn worker_chan(buf: usize) -> (Worker, Receiver, Sender) { let (input_sender, input_receiver) = bounded::(buf); let (output_sender, output_receiver) = unbounded::(); - ( - Worker { - inp: input_sender, - out: output_receiver, - }, - input_receiver, - output_sender, - ) + (Worker { inp: input_sender, out: output_receiver }, input_receiver, output_sender) } -- cgit v1.2.3