Skip to content

Commit

Permalink
Merge pull request #1204 from flodiebold/patch-1
Browse files Browse the repository at this point in the history
Don't use PathPattern in RangePattern bounds
  • Loading branch information
ehuss authored May 5, 2022
2 parents 176a1d2 + 6ce7804 commit 0e3bf27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ match tuple {
>    | [BYTE_LITERAL]\
> &nbsp;&nbsp; | `-`<sup>?</sup> [INTEGER_LITERAL]\
> &nbsp;&nbsp; | `-`<sup>?</sup> [FLOAT_LITERAL]\
> &nbsp;&nbsp; | [_PathPattern_]
> &nbsp;&nbsp; | [_PathExpression_]
Range patterns match values within the range defined by their bounds. A range pattern may be
closed or half-open. A range pattern is closed if it has both a lower and an upper bound, and
Expand Down

0 comments on commit 0e3bf27

Please sign in to comment.