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 1919/// All of the following can be marked as sendable:
2020///
2121/// - Value types
22+ ///
2223/// - Reference types with no mutable storage
24+ ///
2325/// - Reference types that internally manage access to their state
26+ ///
2427/// - Functions and closures (via `@Sendable`)
2528///
2629/// Although this protocol doesn't have any required methods or properties,
5053/// In some cases, structures and enumerations
5154/// that satisfy the requirements implicitly conform to `Sendable`:
5255///
53- /// - Frozen structures and enumerations
56+ /// - Frozen structures and enumerations
5457///
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`.
5760///
5861/// Otherwise, you need to declare conformance to `Sendable` explicitly.
5962///
You can’t perform that action at this time.
0 commit comments