Skip to content

Commit 45069a1

Browse files
authored
Merge pull request swiftlang#82080 from jamieQ/patch-2
[docs][NFC]: minor formatting edits to SendableMetatype docs
2 parents ee4fd56 + f7560c0 commit 45069a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/Sendable.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
/// A type whose metatype can be shared across arbitrary concurrent contexts
1414
/// without introducing a risk of data races. When a generic type `T` conforms
15-
/// to `SendableMetatype`, its metatype `T.Type` conforms to `Sendable`. All
15+
/// to `SendableMetatype`, its metatype `T.Type` conforms to `Sendable`. All
1616
/// concrete types implicitly conform to the `SendableMetatype` protocol, so its
1717
/// primary purpose is in generic code to prohibit the use of isolated
1818
/// conformances along with the generic type.
@@ -35,7 +35,7 @@
3535
///
3636
/// @MainActor
3737
/// class MyModel: @MainActor P {
38-
/// /*implicitly @MainActor/*
38+
/// /* implicitly @MainActor */
3939
/// static func f() {
4040
/// /* on the main actor */
4141
/// }

0 commit comments

Comments
 (0)