diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-07-09 14:37:48 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-07-09 14:37:48 -0700 |
| commit | c26d02557e77ef02bf897563a38867ff0da3fc2a (patch) | |
| tree | 4f37e678d3b138386b7b9549081f266a12259d42 /src/libcore | |
| parent | 9afc8be04b7fb2927fa33d41f8618ca7fb9285bb (diff) | |
| download | rust-c26d02557e77ef02bf897563a38867ff0da3fc2a.tar.gz rust-c26d02557e77ef02bf897563a38867ff0da3fc2a.zip | |
Switch 'cont' to 'again' everywhere. Close #2229.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/io.rs | 2 |
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) { |
