Fix compile errors in tutorial tests.

This commit is contained in:
Eric Holk 2012-08-16 16:45:42 -07:00
parent 8bbe70c207
commit ca0607051a
2 changed files with 3 additions and 3 deletions

View File

@ -3002,8 +3002,8 @@ Here is the code for the parent task:
let (from_child, to_child) = DuplexStream(); let (from_child, to_child) = DuplexStream();
do spawn |to_child| { do spawn || {
stringifier(); stringifier(to_child);
}; };
from_child.send(22u); from_child.send(22u);

View File

@ -18,7 +18,7 @@ import core::*;
export net, net_tcp, net_ip, net_url; export net, net_tcp, net_ip, net_url;
export uv, uv_ll, uv_iotask, uv_global_loop; export uv, uv_ll, uv_iotask, uv_global_loop;
export c_vec, timer; export c_vec, timer;
export sync, arc; export sync, arc, comm;
export bitv, deque, fun_treemap, list, map; export bitv, deque, fun_treemap, list, map;
export smallintmap, sort, treemap; export smallintmap, sort, treemap;
export rope, arena, par; export rope, arena, par;