Slight updates to match API drift in io, lib-io.rs passes.

This commit is contained in:
Graydon Hoare
2011-04-13 12:05:04 -07:00
parent 01b1d4110d
commit 80a4b1ba53
2 changed files with 5 additions and 5 deletions

View File

@@ -115,7 +115,7 @@ state obj new_reader(buf_reader rdr) {
// See _str.char_at
val += ((b0 << ((w + 1u) as u8)) as uint) << ((w - 1u) * 6u - w - 1u);
ret val as char;
}
}
impure fn eof() -> bool {
ret rdr.eof();
}