summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-07-09 14:37:48 -0700
committerGraydon Hoare <graydon@mozilla.com>2012-07-09 14:37:48 -0700
commitc26d02557e77ef02bf897563a38867ff0da3fc2a (patch)
tree4f37e678d3b138386b7b9549081f266a12259d42 /src/libcore
parent9afc8be04b7fb2927fa33d41f8618ca7fb9285bb (diff)
downloadrust-c26d02557e77ef02bf897563a38867ff0da3fc2a.tar.gz
rust-c26d02557e77ef02bf897563a38867ff0da3fc2a.zip
Switch 'cont' to 'again' everywhere. Close #2229.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/io.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/io.rs b/src/libcore/io.rs
index 14c5736120b..f9666a1f22e 100644
--- a/src/libcore/io.rs
+++ b/src/libcore/io.rs
@@ -53,7 +53,7 @@ impl reader_util for reader {
                 assert (w > 0u);
                 if w == 1u {
                     vec::push(chars,  b0 as char );
-                    cont;
+                    again;
                 }
                 // can't satisfy this char with the existing data
                 if end > vec::len(buf) {