diff --git a/src/lib/comm.rs b/src/lib/comm.rs index 2d72c85bde9..4aa66ed28fc 100644 --- a/src/lib/comm.rs +++ b/src/lib/comm.rs @@ -15,15 +15,14 @@ Example: -> use std::task; -> use std::comm; +> use std::{task, comm, io}; > > let p = comm::port(); > task::spawn(comm::chan(p), fn (c: chan) { > comm::send(c, "Hello, World"); > }); > -> log comm::recv(p); +> io::println(comm::recv(p)); */