aboutsummaryrefslogtreecommitdiff
path: root/crates/thread_worker
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-02-12 14:08:20 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-02-12 14:08:20 +0000
commit74ecfc2729d2d0771304a4fed3afdfa2c2d99b43 (patch)
treeeacf6870c6fab537d787bc2764901028ce595f0a /crates/thread_worker
parenta36e310229f13d6959d6ce95c99b659700cefc9a (diff)
parent4fd361343449bcdf7af4642851dc5dbf772f1a68 (diff)
Merge #804
804: Fix some typos r=killercup a=killercup Cherry-picked and updated from my now-closed PR. All credit goes to [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker). Co-authored-by: Pascal Hertleif <[email protected]>
Diffstat (limited to 'crates/thread_worker')
-rw-r--r--crates/thread_worker/src/lib.rs2
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.
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>) {