aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-04-13 12:05:04 -0700
committerGraydon Hoare <[email protected]>2011-04-13 12:05:15 -0700
commit80a4b1ba534ed8d0d4a099349332e937d9c6775c (patch)
treec4595ae8ad92d6075c38d316cccf2a80a2b06f6a /src/lib
parentRemove code that is already in llvm for some time. (diff)
downloadrust-80a4b1ba534ed8d0d4a099349332e937d9c6775c.tar.xz
rust-80a4b1ba534ed8d0d4a099349332e937d9c6775c.zip
Slight updates to match API drift in io, lib-io.rs passes.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/io.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/io.rs b/src/lib/io.rs
index 61f06795..41324509 100644
--- a/src/lib/io.rs
+++ b/src/lib/io.rs
@@ -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();
}