Skip to content

Commit b5f4149

Browse files
committed
quick fix
1 parent 2333e21 commit b5f4149

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
@@ -129,7 +129,7 @@ designation
129129
;
130130
```
131131
132-
Given a *pattern input value* *e*, if *designation* is the *identifier* `_`, it denotes a discard (9.8.2.1), and the value of *e* is not bound to anything. (Although a declared variable with that name may be in scope at that point, that named variable is not seen in this context.) If *designation* is any other identifier, at runtime the value of *e* is bound to a newly introduced local variable ([§9.2.8](variables.md#928-local-variables)) of that name whose type is the static type of *e*, and the pattern input value is assigned to that local variable.
132+
Given a *pattern input value* *e*, if *designation* is the *identifier* `_`, it denotes a discard (§9.8.2.1), and the value of *e* is not bound to anything. (Although a declared variable with that name may be in scope at that point, that named variable is not seen in this context.) If *designation* is any other identifier, at runtime the value of *e* is bound to a newly introduced local variable ([§9.2.8](variables.md#928-local-variables)) of that name whose type is the static type of *e*, and the pattern input value is assigned to that local variable.
133133

134134
It is an error if the name `var` would bind to a type where a *var_pattern* is used.
135135

0 commit comments

Comments
 (0)