De-mode comm::Chan
This commit is contained in:
parent
777baeb298
commit
fe12da0864
63 changed files with 173 additions and 173 deletions
|
|
@ -9,7 +9,7 @@ fn echo<T: Send>(c: Chan<T>, oc: Chan<Chan<T>>) {
|
|||
// Tests that the type argument in port gets
|
||||
// visited
|
||||
let p = Port::<T>();
|
||||
send(oc, Chan(p));
|
||||
send(oc, Chan(&p));
|
||||
|
||||
let x = recv(p);
|
||||
send(c, x);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue