Skip to content

Commit

Permalink
Make it clearer that ..= range patterns work in all editions
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheww committed Dec 3, 2021
1 parent 4725958 commit b83fcc1
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 @@ -533,7 +533,7 @@ minimum to maximum value. The range of values for a `char` type are precisely th
ranges containing all Unicode Scalar Values: `'\u{0000}'..='\u{D7FF}'` and
`'\u{E000}'..='\u{10FFFF}'`.

> **Edition Differences**: Before the 2021 edition, closed range patterns may be written using `...` in place of `..=`, with the same meaning.
> **Edition Differences**: Before the 2021 edition, closed range patterns may also be written using `...` as an alternative to `..=`, with the same meaning.
## Reference patterns

Expand Down

0 comments on commit b83fcc1

Please sign in to comment.