diff options
| author | Vadim Chugunov <vadimcn@gmail.com> | 2013-06-11 18:06:38 -0700 |
|---|---|---|
| committer | Vadim Chugunov <vadimcn@gmail.com> | 2013-06-17 08:41:25 -0700 |
| commit | 51d82f572fe3e286f45b60a9594a2fafd286cb39 (patch) | |
| tree | bb0a0f18aedbd3b5bf5abb2b7aa453c750269d96 | |
| parent | 65dd6218afe62fa36e701ceb27bd4e17ec764acc (diff) | |
| download | rust-51d82f572fe3e286f45b60a9594a2fafd286cb39.tar.gz rust-51d82f572fe3e286f45b60a9594a2fafd286cb39.zip | |
Converted vec::map to member.
| -rw-r--r-- | src/compiletest/procsrv.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiletest/procsrv.rs b/src/compiletest/procsrv.rs index b5404e38ec9..93fe258d167 100644 --- a/src/compiletest/procsrv.rs +++ b/src/compiletest/procsrv.rs @@ -23,7 +23,7 @@ fn target_env(lib_path: &str, prog: &str) -> ~[(~str,~str)] { assert!(prog.ends_with(".exe")); let aux_path = prog.slice(0u, prog.len() - 4u).to_owned() + ".libaux"; - env = do vec::map(env) |pair| { + env = do env.map() |pair| { let (k,v) = copy *pair; if k == ~"PATH" { (~"PATH", v + ";" + lib_path + ";" + aux_path) } else { (k,v) } |
