replace old_iter::repeat with the Times trait

This commit is contained in:
Daniel Micay 2013-04-29 00:03:55 -04:00
parent e91daaa8a9
commit d953a5ce43
13 changed files with 28 additions and 54 deletions

View file

@ -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)