Skip to content

Commit ae8c8a3

Browse files
committed
[NFC][Concurrency] Improve the summary documentation for Sendable.
1 parent f1e14f8 commit ae8c8a3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

stdlib/public/core/Sendable.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
/// A type whose values can safely be passed across concurrency domains by copying.
13+
/// A thread-safe type whose values can be shared across arbitrary concurrent
14+
/// contexts without introducing a risk of data races. Values of the type may
15+
/// have no shared mutable state, or they may protect that state with a lock or
16+
/// by forcing it to only be accessed from a specific actor.
1417
///
1518
/// You can safely pass values of a sendable type
1619
/// from one concurrency domain to another ---

0 commit comments

Comments
 (0)