diff options
| author | keatinge <willy.keatinge@gmail.com> | 2018-01-06 08:37:01 -0500 |
|---|---|---|
| committer | keatinge <willy.keatinge@gmail.com> | 2018-01-06 08:37:01 -0500 |
| commit | 13576dfcd424570f12e2a225c53f3ba83712d048 (patch) | |
| tree | c582f487ac6c660b95b2fc32d56e43163cadb78a /src/libsyntax/parse/parser.rs | |
| parent | 41f58a7cf69d14151070996de50eb7f8587f6b1d (diff) | |
| download | rust-13576dfcd424570f12e2a225c53f3ba83712d048.tar.gz rust-13576dfcd424570f12e2a225c53f3ba83712d048.zip | |
fix capitalization
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index f347f7af06d..e7c46bfd7bc 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -3436,8 +3436,8 @@ impl<'a> Parser<'a> { // Accidental use of || instead of | inbetween patterns if self.token == token::OrOr { return Err(self.span_fatal_help( - self.span, "Unexpected token `||` after pattern", - "Did you mean to use `|` to specify multiple patterns instead?")); + self.span, "unexpected token `||` after pattern", + "did you mean to use `|` to specify multiple patterns instead?")); } return Ok(pats); |
