1
Fork 0

librustc: Stop parsing modes and remove them entirely from the language

This commit is contained in:
Patrick Walton 2013-05-07 14:20:56 -07:00
parent 99daec602f
commit 49a66a5c5a
22 changed files with 78 additions and 73 deletions

View file

@ -673,8 +673,7 @@ mod tests {
let mut children = ~[];
for 5.times {
let arc3 = (*arc).clone();
do task::task().future_result(|+r| children.push(r)).spawn
|| {
do task::task().future_result(|r| children.push(r)).spawn {
do arc3.read |num| {
assert!(*num >= 0);
}