Skip to content

Commit 6eebb22

Browse files
Apply suggestions from code review
Co-authored-by: Brian Lanier <[email protected]>
1 parent fcb9158 commit 6eebb22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/Concurrency/Actor.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import Swift
1515

1616
/// Common protocol to which all actors conform.
1717
///
18-
/// The Actor protocol generalizes over all actor types. Actor types
18+
/// The `Actor` protocol generalizes over all actor types. Actor types
1919
/// implicitly conform to this protocol.
2020
@available(SwiftStdlib 5.5, *)
2121
public protocol Actor: AnyObject, Sendable {
@@ -53,7 +53,7 @@ public func _defaultActorDestroy(_ actor: AnyObject)
5353
internal func _enqueueOnMain(_ job: UnownedJob)
5454

5555
/// A singleton actor whose executor is equivalent to
56-
/// DispatchQueue.main, which is the main dispatch queue.
56+
/// `DispatchQueue.main`, which is the main dispatch queue.
5757
@available(SwiftStdlib 5.5, *)
5858
@globalActor public final actor MainActor: SerialExecutor {
5959
public static let shared = MainActor()

0 commit comments

Comments
 (0)