Skip to content

Commit f64c699

Browse files
authored
[SE-0302] Fix typo (#1794)
1 parent 84b2b2d commit f64c699

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/0302-concurrent-value-and-concurrent-closures.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Swift has [hard coded conformances for tuples](https://github.com/apple/swift-ev
193193

194194
#### Metatype conformance to `Sendable`
195195

196-
Metatypes (such as` Int.Type`, the type produced by the expression `Int.self`) always conform to `Sendable`, because they are immutable.
196+
Metatypes (such as `Int.Type`, the type produced by the expression `Int.self`) always conform to `Sendable`, because they are immutable.
197197

198198
#### `Sendable` conformance checking for structs and enums
199199

@@ -374,7 +374,7 @@ list = await contactList.filteredElements { $0.firstName != "Max" }
374374

375375
// Capturing a 'searchName' string is ok, because String conforms
376376
// to Sendable. searchName is captured by value implicitly.
377-
list = await contactList.filteredElements { $0.firstName==searchName }
377+
list = await contactList.filteredElements { $0.firstName == searchName }
378378

379379
// @Sendable is part of the type, so passing a compatible
380380
// function declaration works as well.

0 commit comments

Comments
 (0)