Update the rock-paper-scissors example in the tutorial, and rename some types in core::pipes
This commit is contained in:
parent
b592d57311
commit
5f57588887
12 changed files with 35 additions and 36 deletions
|
@ -423,7 +423,7 @@ mod tests {
|
|||
let (c, p) = pipes::stream();
|
||||
|
||||
do task::spawn() {
|
||||
let p = pipes::port_set();
|
||||
let p = pipes::PortSet();
|
||||
c.send(p.chan());
|
||||
|
||||
let arc_v = p.recv();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue