about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-10-01 14:31:03 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-10-01 15:53:13 -0700
commit4f67dcb24adb1e23f04e624fcbaf2328b82491b6 (patch)
treee4e85184b26851431e419b8867c560863c204de8 /src/libsyntax/parse/parser.rs
parent4af849bc12e8a2ec592074b1470464efa59f06bf (diff)
downloadrust-4f67dcb24adb1e23f04e624fcbaf2328b82491b6.tar.gz
rust-4f67dcb24adb1e23f04e624fcbaf2328b82491b6.zip
Migrate users of 'loop' to 'continue'
Closes #9467
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 5c88c617950..4598bc04369 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -1987,7 +1987,7 @@ impl Parser {
                   }
                   _ => self.unexpected()
                 }
-                loop;
+                continue;
             }
             if self.expr_is_complete(e) { break; }
             match *self.token {