Skip to content

Commit 51d82f5

Browse files
committed
Converted vec::map to member.
1 parent 65dd621 commit 51d82f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiletest/procsrv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fn target_env(lib_path: &str, prog: &str) -> ~[(~str,~str)] {
2323
assert!(prog.ends_with(".exe"));
2424
let aux_path = prog.slice(0u, prog.len() - 4u).to_owned() + ".libaux";
2525

26-
env = do vec::map(env) |pair| {
26+
env = do env.map() |pair| {
2727
let (k,v) = copy *pair;
2828
if k == ~"PATH" { (~"PATH", v + ";" + lib_path + ";" + aux_path) }
2929
else { (k,v) }

0 commit comments

Comments
 (0)