Rename std::ioivec to std::io
This commit is contained in:
parent
0b71d1d445
commit
7d05da96f7
27 changed files with 148 additions and 148 deletions
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
import std::ioivec;
|
||||
import std::io;
|
||||
import std::int;
|
||||
import std::ivec;
|
||||
import std::str;
|
||||
|
|
@ -709,7 +709,7 @@ fn is_lit(t: &token::token) -> bool {
|
|||
type lit = {lit: str, pos: uint};
|
||||
|
||||
fn gather_comments_and_literals(cm: &codemap::codemap, path: str,
|
||||
srdr: ioivec::reader) ->
|
||||
srdr: io::reader) ->
|
||||
{cmnts: [cmnt], lits: [lit]} {
|
||||
let src = str::unsafe_from_bytes(srdr.read_whole_stream());
|
||||
let itr = @interner::mk[str](str::hash, str::eq);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
import std::ioivec;
|
||||
import std::io;
|
||||
import std::ivec;
|
||||
import std::str;
|
||||
import std::option;
|
||||
|
|
@ -62,7 +62,7 @@ fn new_parser_from_file(sess: parse_sess, cfg:
|
|||
ast::crate_cfg, path: str,
|
||||
chpos: uint, byte_pos: uint,
|
||||
ftype: file_type) -> parser {
|
||||
let src = ioivec::read_whole_file_str(path);
|
||||
let src = io::read_whole_file_str(path);
|
||||
let filemap = codemap::new_filemap(path, chpos, byte_pos);
|
||||
sess.cm.files += ~[filemap];
|
||||
let itr = @interner::mk(str::hash, str::eq);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue