Skip to content

Commit 748f15e

Browse files
committed
Update standard library actor class
This patch updates the once instance of actor class in the concurrency library to actor. This is the actor for the MainActor global actor.
1 parent fc41826 commit 748f15e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/Actor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fileprivate func _registerMainActor(actor: AnyObject)
4848
@globalActor public final class MainActor {
4949
public static let shared = _Impl()
5050

51-
public actor class _Impl {
51+
public actor _Impl {
5252
init() { _registerMainActor(actor: self) }
5353
}
5454
}

0 commit comments

Comments
 (0)