diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-08-11 17:13:53 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-12 12:08:27 -0700 |
| commit | 740196987edf720ee03b7db367106a74fa446356 (patch) | |
| tree | 406a71f7192e1505b667b9e730402d7b75d331f4 /src/lib/run_program.rs | |
| parent | 6050e1d4f6c2fdd412eabbdff864d942bce6e8d7 (diff) | |
| download | rust-740196987edf720ee03b7db367106a74fa446356.tar.gz rust-740196987edf720ee03b7db367106a74fa446356.zip | |
Rename std::str::unsafe_from_bytes_ivec to unsafe_from_bytes
Diffstat (limited to 'src/lib/run_program.rs')
| -rw-r--r-- | src/lib/run_program.rs | 2 |
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; } |
