core::comm: Modernize constructors to use new
This commit is contained in:
parent
bc60d84507
commit
decd3901d5
32 changed files with 80 additions and 68 deletions
|
@ -499,7 +499,7 @@ mod tests {
|
|||
let (p, c) = comm::stream();
|
||||
|
||||
do task::spawn() || {
|
||||
let p = comm::PortSet();
|
||||
let p = comm::PortSet::new();
|
||||
c.send(p.chan());
|
||||
|
||||
let arc_v = p.recv();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue