De-mode comm::Chan
This commit is contained in:
parent
777baeb298
commit
fe12da0864
63 changed files with 173 additions and 173 deletions
|
@ -636,7 +636,7 @@ pub fn spawn_raw(opts: TaskOpts, +f: fn~()) {
|
|||
#[test]
|
||||
fn test_spawn_raw_simple() {
|
||||
let po = comm::Port();
|
||||
let ch = comm::Chan(po);
|
||||
let ch = comm::Chan(&po);
|
||||
do spawn_raw(default_task_opts()) {
|
||||
comm::send(ch, ());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue