diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-04-10 20:55:34 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-04-11 10:55:30 +1000 |
| commit | def90f43e2df9968cda730a2a30cb7ccb9513002 (patch) | |
| tree | e6c5f1ab3a51699595d15ffc96216e42aef68be5 /src/libnative | |
| parent | d8e45ea7c054b4ad6fb82ec3a9fcf1736b4d7260 (diff) | |
| download | rust-def90f43e2df9968cda730a2a30cb7ccb9513002.tar.gz rust-def90f43e2df9968cda730a2a30cb7ccb9513002.zip | |
Fix tests. Add Vec<u8> conversion to StrBuf.
Diffstat (limited to 'src/libnative')
| -rw-r--r-- | src/libnative/io/process.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnative/io/process.rs b/src/libnative/io/process.rs index 8ef46239e61..e3bb938995b 100644 --- a/src/libnative/io/process.rs +++ b/src/libnative/io/process.rs @@ -402,7 +402,7 @@ fn make_command_line(prog: &str, args: &[~str]) -> ~str { cmd.push_char(' '); append_arg(&mut cmd, *arg); } - return cmd.to_owned_str(); + return cmd.into_owned(); fn append_arg(cmd: &mut StrBuf, arg: &str) { let quote = arg.chars().any(|c| c == ' ' || c == '\t'); |
