Fix typo in example in libcore docs
This commit is contained in:
parent
47cfeba467
commit
0945fcf1fb
@ -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…
x
Reference in New Issue
Block a user