We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05d4ca7 commit 178f510Copy full SHA for 178f510
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 12f2b4989ef77550648c11b5940fbe86a5351698
+refs/heads/master: 2e8ebb7c27f45b677c07c8edb960c1f7ff04e20c
trunk/src/lib/comm.rs
@@ -15,15 +15,14 @@ shared boxes (@T) may not be transmitted across channels.
15
16
Example:
17
18
-> use std::task;
19
-> use std::comm;
+> use std::{task, comm, io};
20
>
21
> let p = comm::port();
22
> task::spawn(comm::chan(p), fn (c: chan<str>) {
23
> comm::send(c, "Hello, World");
24
> });
25
26
-> log comm::recv(p);
+> io::println(comm::recv(p));
27
28
*/
29
0 commit comments