Fix typo in example in libcore docs
This commit is contained in:
parent
47cfeba467
commit
0945fcf1fb
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ shared boxes (@T) may not be transmitted across channels.
|
|||
|
||||
Example:
|
||||
|
||||
> use std::{task, comm, io};
|
||||
> import std::{task, comm, io};
|
||||
>
|
||||
> let p = comm::port();
|
||||
> task::spawn(comm::chan(p), fn (c: chan<str>) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue