From 740196987edf720ee03b7db367106a74fa446356 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 11 Aug 2011 17:13:53 -0700 Subject: Rename std::str::unsafe_from_bytes_ivec to unsafe_from_bytes --- src/comp/driver/rustc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/comp/driver') 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}; -- cgit 1.4.1-3-g733a5