We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eea4909 + 3124057 commit a28a701Copy full SHA for a28a701
src/doc/intro.md
@@ -217,7 +217,7 @@ a `Sender` and `Receiver` (commonly abbreviated `tx` and `rx`).
217
The `spawn` function spins up a new task,
218
given a *heap allocated closure* to run.
219
As you can see in the code,
220
-we call `chan.send()` from the original task,
+we call `tx.send()` from the original task,
221
passing in our boxed array,
222
and we call `rx.recv()` (short for 'receive') inside of the new task:
223
values given to the `Sender` via the `send` method come out the other end via the `recv` method on the `Receiver`.
0 commit comments