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 64863a6 + 4de1412 commit aa656b4Copy full SHA for aa656b4
src/expressions/match-expr.md
@@ -117,8 +117,7 @@ let message = match x {
117
};
118
```
119
120
-Range patterns only work on scalar types (like integers and characters; not
121
-like arrays and structs, which have sub-components). A range pattern may not be
+Range patterns only work on `char` and numeric types. A range pattern may not be
122
a sub-range of another range pattern inside the same `match`.
123
124
Finally, match patterns can accept *pattern guards* to further refine the
0 commit comments