Skip to content

Commit deb81bc

Browse files
authored
Discard changes to stdlib/public/Concurrency/Executor.swift (#74859)
1 parent 39f826c commit deb81bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/Executor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ public protocol TaskExecutor: Executor {
242242
// avoid drilling down to the base conformance just for the basic
243243
// work-scheduling operation.
244244
@_nonoverride
245+
@available(*, deprecated, message: "Implement 'enqueue(_: consuming ExecutorJob)' instead")
245246
func enqueue(_ job: consuming Job)
246247
#endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
247248

@@ -519,7 +520,6 @@ where E: SerialExecutor {
519520
#endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
520521
}
521522

522-
/// Used by Swift Concurrency runtime to call into a task executor's `enqueue`.
523523
@_unavailableInEmbedded
524524
@available(SwiftStdlib 6.0, *)
525525
@_silgen_name("_swift_task_enqueueOnTaskExecutor")

0 commit comments

Comments
 (0)