replace old_iter::repeat with the Times trait
This commit is contained in:
parent
e91daaa8a9
commit
d953a5ce43
13 changed files with 28 additions and 54 deletions
|
|
@ -30,7 +30,7 @@ fn main() {
|
|||
}
|
||||
|
||||
fn run(repeat: int, depth: int) {
|
||||
for old_iter::repeat(repeat as uint) {
|
||||
for (repeat as uint).times {
|
||||
debug!("starting %.4f", precise_time_s());
|
||||
do task::try {
|
||||
recurse_or_fail(depth, None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue