diff options
Diffstat (limited to 'crates/thread_worker/src/lib.rs')
-rw-r--r-- | crates/thread_worker/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/thread_worker/src/lib.rs b/crates/thread_worker/src/lib.rs index ca0aad136..a522a0843 100644 --- a/crates/thread_worker/src/lib.rs +++ b/crates/thread_worker/src/lib.rs | |||
@@ -65,7 +65,7 @@ impl WorkerHandle { | |||
65 | } | 65 | } |
66 | } | 66 | } |
67 | 67 | ||
68 | /// Sets up worker channels in a deadlock-avoind way. | 68 | /// Sets up worker channels in a deadlock-avoiding way. |
69 | /// If one sets both input and output buffers to a fixed size, | 69 | /// If one sets both input and output buffers to a fixed size, |
70 | /// a worker might get stuck. | 70 | /// a worker might get stuck. |
71 | fn worker_chan<I, O>(buf: usize) -> (Worker<I, O>, Receiver<I>, Sender<O>) { | 71 | fn worker_chan<I, O>(buf: usize) -> (Worker<I, O>, Receiver<I>, Sender<O>) { |