We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 219e261 + 18954f5 commit 7e042cdCopy full SHA for 7e042cd
src/expressions/match-expr.md
@@ -137,8 +137,8 @@ both endpoints left unspecified) are not supported in matches. The
137
syntax `...` is also accepted for inclusive ranges in patterns only, for
138
backwards compatibility.
139
140
-Range patterns only work [`char`] and [numeric types]. A range pattern may not
141
-be a sub-range of another range pattern inside the same `match`.
+Range patterns only work with [`char`] and [numeric types]. A range pattern may
+not be a sub-range of another range pattern inside the same `match`.
142
143
Slice patterns can match both arrays of fixed size and slices of dynamic size.
144
```rust
0 commit comments