diff --git a/wapcaplet.rc b/wapcaplet.rc index e279579..e9aac6c 100644 --- a/wapcaplet.rc +++ b/wapcaplet.rc @@ -119,7 +119,7 @@ fn smoke_test() { #[test] fn multithreading_test() { for uint::range(0, 100) |i| { - for iter::repeat(50) { + for 50.times { do task::spawn { let s = vec::from_elem(i + 1, 0).to_str(); let s = from_rust_string(s);