diff options
| author | Alexander Regueiro <alexreg@me.com> | 2019-09-01 18:09:59 +0100 |
|---|---|---|
| committer | Alexander Regueiro <alexreg@me.com> | 2019-09-06 03:46:08 +0100 |
| commit | 022d9c8eb56144c00980c88d4b68a5a1e487484a (patch) | |
| tree | 738a2c5192caf1cdaf2de96213b14cd1996dfe9c /src/libsyntax/parse/parser/expr.rs | |
| parent | 618768492f0c731fcb770dc2d178abe840846419 (diff) | |
| download | rust-022d9c8eb56144c00980c88d4b68a5a1e487484a.tar.gz rust-022d9c8eb56144c00980c88d4b68a5a1e487484a.zip | |
Fixed grammar/style in error messages and reblessed tests.
Diffstat (limited to 'src/libsyntax/parse/parser/expr.rs')
| -rw-r--r-- | src/libsyntax/parse/parser/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser/expr.rs b/src/libsyntax/parse/parser/expr.rs index e502a08f4b2..98c3562b321 100644 --- a/src/libsyntax/parse/parser/expr.rs +++ b/src/libsyntax/parse/parser/expr.rs @@ -982,7 +982,7 @@ impl<'a> Parser<'a> { } if self.is_do_catch_block() { let mut db = self.fatal("found removed `do catch` syntax"); - db.help("Following RFC #2388, the new non-placeholder syntax is `try`"); + db.help("following RFC #2388, the new non-placeholder syntax is `try`"); return Err(db); } if self.is_try_block() { |
