Skip to content

Commit 18954f5

Browse files
authored
on => with
1 parent 98f0ff4 commit 18954f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expressions/match-expr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ both endpoints left unspecified) are not supported in matches. The
137137
syntax `...` is also accepted for inclusive ranges in patterns only, for
138138
backwards compatibility.
139139

140-
Range patterns only work on [`char`] and [numeric types]. A range pattern may
140+
Range patterns only work with [`char`] and [numeric types]. A range pattern may
141141
not be a sub-range of another range pattern inside the same `match`.
142142

143143
Slice patterns can match both arrays of fixed size and slices of dynamic size.

0 commit comments

Comments
 (0)