Skip to content

Commit b6880f8

Browse files
amartini51bjlanier
andcommitted
Fix minor wording issues per review feedback
Co-authored-by: Brian Lanier <[email protected]> (cherry picked from commit 59e951a)
1 parent 3a3ef53 commit b6880f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stdlib/public/core/Sendable.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
/// A type whose values can safely be passed across concurrency domains by copying.
1414
///
1515
/// You can safely pass values of a sendable type
16-
/// from one concurrency domains to another ---
16+
/// from one concurrency domain to another ---
1717
/// for example, you can pass a sendable value as the argument
1818
/// when calling an actor's methods.
1919
/// All of the following can be marked as sendable:
@@ -24,7 +24,7 @@
2424
///
2525
/// - Reference types that internally manage access to their state
2626
///
27-
/// - Functions and closures (via `@Sendable`)
27+
/// - Functions and closures (by marking them with `@Sendable`)
2828
///
2929
/// Although this protocol doesn't have any required methods or properties,
3030
/// it does have semantic requirements that are enforced at compile time.
@@ -61,7 +61,7 @@
6161
/// Otherwise, you need to declare conformance to `Sendable` explicitly.
6262
///
6363
/// Structures that have nonsendable stored properties
64-
/// and enumerations that nonsendable associated values
64+
/// and enumerations that have nonsendable associated values
6565
/// can be marked as `@unchecked Sendable`,
6666
/// disabling compile-time correctness checks,
6767
/// after you manually verify that
@@ -103,7 +103,7 @@
103103
/// and the captured values must be of a sendable type.
104104
///
105105
/// In a context that expects a sendable closure,
106-
/// a closure closure that satisfies the requirements
106+
/// a closure that satisfies the requirements
107107
/// implicitly conforms to `Sendable` ---
108108
/// for example, in a call to `Task.detached(priority:operation:)`.
109109
///

0 commit comments

Comments
 (0)