aboutsummaryrefslogtreecommitdiff
path: root/crates/thread_worker/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-02-08 11:49:43 +0000
committerAleksey Kladov <[email protected]>2019-02-08 11:49:43 +0000
commit12e3b4c70b5ef23b2fdfc197296d483680e125f9 (patch)
tree71baa0e0a62f9f6b61450501c5f821f67badf9e4 /crates/thread_worker/src
parent5cb1d41a30d25cbe136402644bf5434dd667f1e5 (diff)
reformat the world
Diffstat (limited to 'crates/thread_worker/src')
-rw-r--r--crates/thread_worker/src/lib.rs9
1 files changed, 1 insertions, 8 deletions
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 {
71fn worker_chan<I, O>(buf: usize) -> (Worker<I, O>, Receiver<I>, Sender<O>) { 71fn worker_chan<I, O>(buf: usize) -> (Worker<I, O>, Receiver<I>, Sender<O>) {
72 let (input_sender, input_receiver) = bounded::<I>(buf); 72 let (input_sender, input_receiver) = bounded::<I>(buf);
73 let (output_sender, output_receiver) = unbounded::<O>(); 73 let (output_sender, output_receiver) = unbounded::<O>();
74 ( 74 (Worker { inp: input_sender, out: output_receiver }, input_receiver, output_sender)
75 Worker {
76 inp: input_sender,
77 out: output_receiver,
78 },
79 input_receiver,
80 output_sender,
81 )
82} 75}