Skip to content

Commit 178f510

Browse files
committed
---
yaml --- r: 6236 b: refs/heads/master c: 2e8ebb7 h: refs/heads/master v: v3
1 parent 05d4ca7 commit 178f510

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 12f2b4989ef77550648c11b5940fbe86a5351698
2+
refs/heads/master: 2e8ebb7c27f45b677c07c8edb960c1f7ff04e20c

trunk/src/lib/comm.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ shared boxes (@T) may not be transmitted across channels.
1515
1616
Example:
1717
18-
> use std::task;
19-
> use std::comm;
18+
> use std::{task, comm, io};
2019
>
2120
> let p = comm::port();
2221
> task::spawn(comm::chan(p), fn (c: chan<str>) {
2322
> comm::send(c, "Hello, World");
2423
> });
2524
>
26-
> log comm::recv(p);
25+
> io::println(comm::recv(p));
2726
2827
*/
2928

0 commit comments

Comments
 (0)