We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 260d74d commit 34b2336Copy full SHA for 34b2336
src/compiletest/procsrv.rs
@@ -26,7 +26,7 @@ fn target_env(lib_path: ~str, prog: ~str) -> ~[(~str,~str)] {
26
27
// Make sure we include the aux directory in the path
28
assert!(prog.ends_with(~".exe"));
29
- let aux_path = prog.slice(0u, prog.len() - 4u) + ~".libaux";
+ let aux_path = prog.slice(0u, prog.len() - 4u).to_owned() + ~".libaux";
30
31
env = do vec::map(env) |pair| {
32
let (k,v) = *pair;
0 commit comments