mirror of https://github.com/rust-lang/rust.git
Fix compile errors in tutorial tests.
This commit is contained in:
parent
8bbe70c207
commit
ca0607051a
|
@ -3002,8 +3002,8 @@ Here is the code for the parent task:
|
|||
|
||||
let (from_child, to_child) = DuplexStream();
|
||||
|
||||
do spawn |to_child| {
|
||||
stringifier();
|
||||
do spawn || {
|
||||
stringifier(to_child);
|
||||
};
|
||||
|
||||
from_child.send(22u);
|
||||
|
|
|
@ -18,7 +18,7 @@ import core::*;
|
|||
export net, net_tcp, net_ip, net_url;
|
||||
export uv, uv_ll, uv_iotask, uv_global_loop;
|
||||
export c_vec, timer;
|
||||
export sync, arc;
|
||||
export sync, arc, comm;
|
||||
export bitv, deque, fun_treemap, list, map;
|
||||
export smallintmap, sort, treemap;
|
||||
export rope, arena, par;
|
||||
|
|
Loading…
Reference in New Issue