From 0ce2e91b6e1c987ce1682d1ff477edea969c5ddf Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Sun, 26 Feb 2017 22:24:11 -0500 Subject: [PATCH] I before e except after c Double L before L in parallel --- src/ch16-02-message-passing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ch16-02-message-passing.md b/src/ch16-02-message-passing.md index 978319afe..78475d1fd 100644 --- a/src/ch16-02-message-passing.md +++ b/src/ch16-02-message-passing.md @@ -194,7 +194,7 @@ explains our second difference: we no longer need an explicit `drop` of `tx`. If we run this example, we should see the same results as before. We've introduced a thread, but we don't see any evidence that the thread is running -in paralell to the main thread. +in parallel to the main thread. We can show that this is happening at the same time with a call `thread::sleep`: @@ -224,7 +224,7 @@ fn main() { The call to `thread::sleep` will make the thread stop executing for the `Duration` it's been passed. In this case, we've created a duration of one second. When running this version of the example, you'll see the same output, -but with a one-second pause in between. There's no pausing in our recieving +but with a one-second pause in between. There's no pausing in our receiving loop, so we can tell that the main thread is waiting on the secondary thread. Near the start of this section, we mentioned that 'mpsc' stood for "multiple