about summary refs log tree commit diff
path: root/src/libsyntax/parse/comments.rs
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/libsyntax/parse/comments.rs
parent9afc8be04b7fb2927fa33d41f8618ca7fb9285bb (diff)
downloadrust-c26d02557e77ef02bf897563a38867ff0da3fc2a.tar.gz
rust-c26d02557e77ef02bf897563a38867ff0da3fc2a.zip
Switch 'cont' to 'again' everywhere. Close #2229.
Diffstat (limited to 'src/libsyntax/parse/comments.rs')
-rw-r--r--src/libsyntax/parse/comments.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/comments.rs b/src/libsyntax/parse/comments.rs
index bd164402c1d..d351d492fb0 100644
--- a/src/libsyntax/parse/comments.rs
+++ b/src/libsyntax/parse/comments.rs
@@ -56,7 +56,7 @@ fn strip_doc_comment_decoration(comment: str) -> str {
         let mut i = max.get_default(uint::max_value);
         for lines.each |line| {
             if line.trim().is_empty() {
-                cont;
+                again;
             }
             for line.each_chari |j, c| {
                 if j >= i {