Skip to content

Commit 13576df

Browse files
committed
fix capitalization
1 parent 41f58a7 commit 13576df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libsyntax/parse/parser.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3436,8 +3436,8 @@ impl<'a> Parser<'a> {
34363436
// Accidental use of || instead of | inbetween patterns
34373437
if self.token == token::OrOr {
34383438
return Err(self.span_fatal_help(
3439-
self.span, "Unexpected token `||` after pattern",
3440-
"Did you mean to use `|` to specify multiple patterns instead?"));
3439+
self.span, "unexpected token `||` after pattern",
3440+
"did you mean to use `|` to specify multiple patterns instead?"));
34413441
}
34423442

34433443
return Ok(pats);

0 commit comments

Comments
 (0)