Rename std::str::unsafe_from_bytes_ivec to unsafe_from_bytes
This commit is contained in:
parent
6050e1d4f6
commit
740196987e
15 changed files with 32 additions and 32 deletions
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue