diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-06-08 18:28:08 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-06-09 02:22:23 +1000 |
| commit | 513d2292e5a743e630ceece06255528c1902ac01 (patch) | |
| tree | 2bfd6a023b397d60a5923a66cdcb47241ac1b043 /src/test/bench | |
| parent | ed299af62566a9f0f285e81408aab5f7680ab4cc (diff) | |
| download | rust-513d2292e5a743e630ceece06255528c1902ac01.tar.gz rust-513d2292e5a743e630ceece06255528c1902ac01.zip | |
std: remove foldr and alli methods in vec
Diffstat (limited to 'src/test/bench')
| -rw-r--r-- | src/test/bench/graph500-bfs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/bench/graph500-bfs.rs b/src/test/bench/graph500-bfs.rs index 684d2ac5009..dee18c8a1b3 100644 --- a/src/test/bench/graph500-bfs.rs +++ b/src/test/bench/graph500-bfs.rs @@ -363,7 +363,7 @@ fn validate(edges: ~[(node_id, node_id)], info!(~"Verifying tree edges..."); - let status = do tree.alli() |k, parent| { + let status = do tree.iter().enumerate().all |(k, parent)| { if *parent != root && *parent != -1i64 { level[*parent] == level[k] - 1 } |
