librustc: Stop parsing modes and remove them entirely from the language
This commit is contained in:
parent
99daec602f
commit
49a66a5c5a
22 changed files with 78 additions and 73 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue