Skip to content

Commit ba7414d

Browse files
committed
Added back the optional pipe before the patterns
1 parent 59ad814 commit ba7414d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expressions/match-expr.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
> &nbsp;&nbsp; [_OuterAttribute_]<sup>\*</sup> _MatchArmPatterns_ _MatchArmGuard_
1919
>
2020
> _MatchArmPatterns_ :
21-
> &nbsp;&nbsp; _Pattern_ ( `|` _Pattern_ )<sup>*</sup>
21+
> &nbsp;&nbsp; `|`<sup>?</sup> _Pattern_ ( `|` _Pattern_ )<sup>*</sup>
2222
>
2323
> _MatchArmGuard_ :
2424
> &nbsp;&nbsp; `if` [_Expression_]

0 commit comments

Comments
 (0)