Skip to content

Commit 4a628b3

Browse files
committed
---
yaml --- r: 1415 b: refs/heads/master c: c4df396 h: refs/heads/master i: 1413: 40afcf4 1411: c0e5bc8 1407: bb08404 v: v3
1 parent 8bb1dbc commit 4a628b3

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: b6f1c832e3c883a2ef2f5b47a68db79f33f5fb25
2+
refs/heads/master: c4df39609c9c09c450dd8fe5905a8e6fbeb5f181

trunk/src/comp/front/lexer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import std._io.stdio_reader;
1+
import std.io.stdio_reader;
22
import std._str;
33
import std.map;
44
import std.map.hashmap;

trunk/src/comp/front/parser.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import std._io;
1+
import std.io;
22
import std._vec;
33
import std._str;
44
import std.option;
@@ -80,7 +80,7 @@ impure fn new_parser(session.session sess,
8080
ret tup(crate, def);
8181
}
8282
}
83-
auto srdr = _io.new_stdio_reader(path);
83+
auto srdr = io.new_stdio_reader(path);
8484
auto rdr = lexer.new_reader(srdr, path);
8585
auto npos = rdr.get_curr_pos();
8686
ret stdio_parser(sess, lexer.next_token(rdr),
File renamed without changes.

trunk/src/lib/std.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ mod _str;
1414

1515
// General IO and system-services modules.
1616

17-
mod _io;
17+
mod io;
1818
mod sys;
1919
mod _task;
2020

@@ -25,7 +25,7 @@ mod util;
2525

2626
// Authorize various rule-bendings.
2727

28-
auth _io = unsafe;
28+
auth io = unsafe;
2929
auth _str = unsafe;
3030
auth _vec = unsafe;
3131
auth _task = unsafe;

trunk/src/test/run-pass/lib-io.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// -*- rust -*-
22

33
use std;
4-
import std._io;
4+
import std.io;
55
import std._str;
66

77
fn test_simple(str tmpfilebase) {
@@ -11,11 +11,11 @@ fn test_simple(str tmpfilebase) {
1111
log frood;
1212

1313
{
14-
let _io.buf_writer out = _io.new_buf_writer(tmpfile, vec(_io.create()));
14+
let io.buf_writer out = io.new_buf_writer(tmpfile, vec(io.create()));
1515
out.write(_str.bytes(frood));
1616
}
1717

18-
let _io.buf_reader inp = _io.new_buf_reader(tmpfile);
18+
let io.buf_reader inp = io.new_buf_reader(tmpfile);
1919
let str frood2 = _str.from_bytes(inp.read());
2020
log frood2;
2121
check (_str.eq(frood, frood2));

0 commit comments

Comments
 (0)