about summary refs log tree commit diff
path: root/src/compiletest
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-03-05 02:06:50 -0800
committerbors <bors@rust-lang.org>2013-03-05 02:06:50 -0800
commiteddefbc893f16ddec44dbb6b5be6adf7d84c2b53 (patch)
tree4977e2930f39129932167c5ba7fe90cee0d3e684 /src/compiletest
parent75c5bc90d2d3fb3e495b38c49c7cc96797795c72 (diff)
parentaf645e848713536ac3c0a0c52de7b4d96f96fbc6 (diff)
downloadrust-eddefbc893f16ddec44dbb6b5be6adf7d84c2b53.tar.gz
rust-eddefbc893f16ddec44dbb6b5be6adf7d84c2b53.zip
auto merge of #5212 : thestinger/rust/iter, r=graydon
A small step towards fixing #2827
Diffstat (limited to 'src/compiletest')
-rw-r--r--src/compiletest/header.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiletest/header.rs b/src/compiletest/header.rs
index 64d1aae5ff5..daa3036687c 100644
--- a/src/compiletest/header.rs
+++ b/src/compiletest/header.rs
@@ -59,11 +59,11 @@ pub fn load_props(testfile: &Path) -> TestProps {
             pp_exact = parse_pp_exact(ln, testfile);
         }
 
-        do parse_aux_build(ln).iter |ab| {
+        for parse_aux_build(ln).each |ab| {
             aux_builds.push(*ab);
         }
 
-        do parse_exec_env(ln).iter |ee| {
+        for parse_exec_env(ln).each |ee| {
             exec_env.push(*ee);
         }