about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-25 09:21:20 -0700
committerbors <bors@rust-lang.org>2014-04-25 09:21:20 -0700
commita28a701d648d88ed63f575fa1efed47f5cbb81ca (patch)
treefe37b0f5bc085af3a26e705219d5d9b06e40972b
parenteea4909a8713a54b3c47e871a70baf6c722999a3 (diff)
parent31240571017233a50e9d3ee6a8c92aa8a6ce8785 (diff)
downloadrust-a28a701d648d88ed63f575fa1efed47f5cbb81ca.tar.gz
rust-a28a701d648d88ed63f575fa1efed47f5cbb81ca.zip
auto merge of #13747 : michaelfairley/rust/patch-1, r=alexcrichton
-rw-r--r--src/doc/intro.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/intro.md b/src/doc/intro.md
index 513f4ab22e3..5b36856660d 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`.