about summary refs log tree commit diff
path: root/src/comp/driver
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-08-11 17:13:53 -0700
committerBrian Anderson <banderson@mozilla.com>2011-08-12 12:08:27 -0700
commit740196987edf720ee03b7db367106a74fa446356 (patch)
tree406a71f7192e1505b667b9e730402d7b75d331f4 /src/comp/driver
parent6050e1d4f6c2fdd412eabbdff864d942bce6e8d7 (diff)
downloadrust-740196987edf720ee03b7db367106a74fa446356.tar.gz
rust-740196987edf720ee03b7db367106a74fa446356.zip
Rename std::str::unsafe_from_bytes_ivec to unsafe_from_bytes
Diffstat (limited to 'src/comp/driver')
-rw-r--r--src/comp/driver/rustc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs
index 56fc0f0b424..03c93cbb208 100644
--- a/src/comp/driver/rustc.rs
+++ b/src/comp/driver/rustc.rs
@@ -105,7 +105,7 @@ fn parse_input_src(sess: session::session, cfg: &ast::crate_cfg,
     } else {
         ioivec::stdin()
     }.read_whole_stream();
-    let src = str::unsafe_from_bytes_ivec(srcbytes);
+    let src = str::unsafe_from_bytes(srcbytes);
     let crate = parser::parse_crate_from_source_str(infile, src, cfg,
                                                     sess.get_parse_sess());
     ret {crate: crate, src: src};