File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 19
19
/// All of the following can be marked as sendable:
20
20
///
21
21
/// - Value types
22
+ ///
22
23
/// - Reference types with no mutable storage
24
+ ///
23
25
/// - Reference types that internally manage access to their state
26
+ ///
24
27
/// - Functions and closures (via `@Sendable`)
25
28
///
26
29
/// Although this protocol doesn't have any required methods or properties,
50
53
/// In some cases, structures and enumerations
51
54
/// that satisfy the requirements implicitly conform to `Sendable`:
52
55
///
53
- /// - Frozen structures and enumerations
56
+ /// - Frozen structures and enumerations
54
57
///
55
- /// - Structures and enumerations
56
- /// that aren't public and aren't marked `@usableFromInline`.
58
+ /// - Structures and enumerations
59
+ /// that aren't public and aren't marked `@usableFromInline`.
57
60
///
58
61
/// Otherwise, you need to declare conformance to `Sendable` explicitly.
59
62
///
You can’t perform that action at this time.
0 commit comments