Skip to content

Commit 87bdeac

Browse files
Nigel-Ecmajskeet
authored andcommitted
Wordsmith pattern exhaustiveness
Addresses #969
1 parent 5be8313 commit 87bdeac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

standard/patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ A set of patterns `Q` *subsumes* a pattern `P` if any of the following condition
156156

157157
## 11.4 Pattern exhaustiveness
158158

159-
Informally, a set of patterns is exhaustive for a type if some pattern in the set is applicable to every possible value of that type other than null.
159+
Informally, a set of patterns is exhaustive for a type if for every possible value of that type other than null some pattern in the set is applicable.
160160
The following rules define when a set of patterns is *exhaustive* for a type:
161161

162162
A set of patterns `Q` is *exhaustive* for a type `T` if any of the following conditions hold:

0 commit comments

Comments
 (0)