From 31240571017233a50e9d3ee6a8c92aa8a6ce8785 Mon Sep 17 00:00:00 2001 From: Michael Fairley Date: Fri, 25 Apr 2014 10:15:47 -0500 Subject: [PATCH] Fix variable name in prose to match code it's describing --- src/doc/intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/intro.md b/src/doc/intro.md index 513f4ab22e3eb..5b36856660dae 100644 --- a/src/doc/intro.md +++ b/src/doc/intro.md @@ -217,7 +217,7 @@ a `Sender` and `Receiver` (commonly abbreviated `tx` and `rx`). The `spawn` function spins up a new task, given a *heap allocated closure* to run. As you can see in the code, -we call `chan.send()` from the original task, +we call `tx.send()` from the original task, passing in our boxed array, and we call `rx.recv()` (short for 'receive') inside of the new task: values given to the `Sender` via the `send` method come out the other end via the `recv` method on the `Receiver`.