Skip to content

Commit 9884d5e

Browse files
authored
Update patterns.md
1 parent edc81fd commit 9884d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/patterns.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ match tuple {
424424
>    | [BYTE_LITERAL]\
425425
> &nbsp;&nbsp; | `-`<sup>?</sup> [INTEGER_LITERAL]\
426426
> &nbsp;&nbsp; | `-`<sup>?</sup> [FLOAT_LITERAL]\
427-
> &nbsp;&nbsp; | [_PathExpression_]
427+
> &nbsp;&nbsp; | [_PathPattern_]
428428
429429
Range patterns match values within the range defined by their bounds. A range pattern may be
430430
closed or half-open. A range pattern is closed if it has both a lower and an upper bound, and

0 commit comments

Comments
 (0)