Skip to content

Commit a69f0e0

Browse files
Add discussion of metatypes.
Co-authored-by: Doug Gregor <[email protected]> (cherry picked from commit c9bdda9)
1 parent 22ea345 commit a69f0e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/public/core/Sendable.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@
118118
/// To satisfy the requirements of the `Sendable` protocol,
119119
/// all of the elements of the tuple must be sendable.
120120
/// Tuples that satisfy the requirements implicitly conform to `Sendable`.
121+
///
122+
/// ### Sendable Metatypes
123+
///
124+
/// Metatypes such as `Int.Type` implicitly conform to the `Sendable` protocol.
121125
@_marker public protocol Sendable { }
122126
///
123127
/// A type whose values can safely be passed across concurrency domains by copying,

0 commit comments

Comments
 (0)