Skip to content

Commit 9e09513

Browse files
committed
Mark UnownedSerialExecutor as @unsafe
1 parent 4873a61 commit 9e09513

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/Concurrency/Executor.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ extension SerialExecutor {
317317
/// different objects, the executor must be referenced strongly by the
318318
/// actor.
319319
@available(SwiftStdlib 5.1, *)
320+
@unsafe
320321
@frozen
321322
public struct UnownedSerialExecutor: Sendable {
322323
@usableFromInline

0 commit comments

Comments
 (0)