Skip to content

Commit 0945fcf

Browse files
committed
Fix typo in example in libcore docs
1 parent 47cfeba commit 0945fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/comm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ shared boxes (@T) may not be transmitted across channels.
1515
1616
Example:
1717
18-
> use std::{task, comm, io};
18+
> import std::{task, comm, io};
1919
>
2020
> let p = comm::port();
2121
> task::spawn(comm::chan(p), fn (c: chan<str>) {

0 commit comments

Comments
 (0)