Skip to content

Commit 4f07263

Browse files
authored
[SE-0352] Fix typo (#1768)
1 parent 6a9c019 commit 4f07263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/0352-implicit-open-existentials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func checkFinaleReadinessMember(costumes: [any Costume]) -> Bool {
122122

123123
In that sense, implicitly opening existentials for calls to generic functions is a generalization of this existing behavior to all generic parameters. It isn't strictly more expressive: as the `hasBellsMember` example shows, one *can* always write a member in a protocol extension to get this opening behavior. This proposal aims to make implicit opening of existentials more uniform and more ergonomic, by making it more general.
124124

125-
Let's consider one last implementation of our "readiness" check, where want to "open code" the check for bells without putting the logic into a separatae generic function `hasBells`:
125+
Let's consider one last implementation of our "readiness" check, where want to "open code" the check for bells without putting the logic into a separate generic function `hasBells`:
126126

127127
```swift
128128
func checkFinaleReadinessOpenCoded(costumes: [any Costume]) -> Bool {

0 commit comments

Comments
 (0)