about summary refs log tree commit diff
path: root/src/lib/run_program.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/run_program.rs')
-rw-r--r--src/lib/run_program.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/run_program.rs b/src/lib/run_program.rs
index 05e3ee3a1d9..b1cbcc24234 100644
--- a/src/lib/run_program.rs
+++ b/src/lib/run_program.rs
@@ -104,7 +104,7 @@ fn read_all(rd: &io::reader) -> str {
     let buf = "";
     while !rd.eof() {
         let bytes = ivec::from_vec(rd.read_bytes(4096u));
-        buf += str::unsafe_from_bytes_ivec(bytes);
+        buf += str::unsafe_from_bytes(bytes);
     }
     ret buf;
 }