rust/src/test/run-pass/task-comm-chan-cleanup2.rs

8 lines
119 B
Rust

use std;
import comm;
fn main() {
let p = comm::port();
let c = comm::chan(p);
comm::send(c, ~"coffee");
}