Skip to content

Commit c9e90de

Browse files
committed
Fix a compilation error on windows
1 parent 6d97c41 commit c9e90de

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
@@ -14,7 +14,7 @@ fn target_env(lib_path: ~str, prog: ~str) -> ~[(~str,~str)] {
1414
let aux_path = prog.slice(0u, prog.len() - 4u) + ~".libaux";
1515

1616
env = do vec::map(env) |pair| {
17-
let (k,v) = pair;
17+
let (k,v) = *pair;
1818
if k == ~"PATH" { (~"PATH", v + ~";" + lib_path + ~";" + aux_path) }
1919
else { (k,v) }
2020
};

0 commit comments

Comments
 (0)