Skip to content

Commit b83fcc1

Browse files
committed
Make it clearer that ..= range patterns work in all editions
1 parent 4725958 commit b83fcc1

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
@@ -533,7 +533,7 @@ minimum to maximum value. The range of values for a `char` type are precisely th
533533
ranges containing all Unicode Scalar Values: `'\u{0000}'..='\u{D7FF}'` and
534534
`'\u{E000}'..='\u{10FFFF}'`.
535535

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

0 commit comments

Comments
 (0)