diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-08-11 19:14:38 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-12 12:08:27 -0700 |
| commit | 7d05da96f72d96eae1367c21064d7ab3c9a3f2bb (patch) | |
| tree | f340bce79826ceb7ca58295246e7d2406a33a758 /src/comp/syntax/parse/parser.rs | |
| parent | 0b71d1d445c01e1763f38ab62372f7e07b7ff0ff (diff) | |
| download | rust-7d05da96f72d96eae1367c21064d7ab3c9a3f2bb.tar.gz rust-7d05da96f72d96eae1367c21064d7ab3c9a3f2bb.zip | |
Rename std::ioivec to std::io
Diffstat (limited to 'src/comp/syntax/parse/parser.rs')
| -rw-r--r-- | src/comp/syntax/parse/parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index d956b28f8b0..e13ecca7232 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -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); |
