@@ -24,7 +24,7 @@ internal func _swiftJobRun(_ job: UnownedJob,
24
24
// ==== -----------------------------------------------------------------------
25
25
// MARK: UnownedJob
26
26
27
- /// A unit of scheduleable work.
27
+ /// A unit of schedulable work.
28
28
///
29
29
/// Unless you're implementing a scheduler,
30
30
/// you don't generally interact with jobs directly.
@@ -116,7 +116,7 @@ extension UnownedJob: CustomStringConvertible {
116
116
117
117
/// Deprecated equivalent of ``ExecutorJob``.
118
118
///
119
- /// A unit of scheduleable work.
119
+ /// A unit of schedulable work.
120
120
///
121
121
/// Unless you're implementing a scheduler,
122
122
/// you don't generally interact with jobs directly.
@@ -172,7 +172,7 @@ extension Job {
172
172
/// The passed in executor reference is used to establish the executor context for the job,
173
173
/// and should be the same executor as the one semantically calling the `runSynchronously` method.
174
174
///
175
- /// This operation consumes the job, preventing it accidental use after it has ben run.
175
+ /// This operation consumes the job, preventing it accidental use after it has been run.
176
176
///
177
177
/// Converting a `ExecutorJob` to an ``UnownedJob`` and invoking ``UnownedJob/runSynchronously(_:)` on it multiple times is undefined behavior,
178
178
/// as a job can only ever be run once, and must not be accessed after it has been run.
@@ -185,7 +185,7 @@ extension Job {
185
185
}
186
186
}
187
187
188
- /// A unit of scheduleable work.
188
+ /// A unit of schedulable work.
189
189
///
190
190
/// Unless you're implementing a scheduler,
191
191
/// you don't generally interact with jobs directly.
@@ -240,7 +240,7 @@ extension ExecutorJob {
240
240
/// The passed in executor reference is used to establish the executor context for the job,
241
241
/// and should be the same executor as the one semantically calling the `runSynchronously` method.
242
242
///
243
- /// This operation consumes the job, preventing it accidental use after it has ben run.
243
+ /// This operation consumes the job, preventing it accidental use after it has been run.
244
244
///
245
245
/// Converting a `ExecutorJob` to an ``UnownedJob`` and invoking ``UnownedJob/runSynchronously(_:)` on it multiple times is undefined behavior,
246
246
/// as a job can only ever be run once, and must not be accessed after it has been run.
@@ -287,7 +287,7 @@ extension TaskPriority {
287
287
@available ( SwiftStdlib 5 . 9 , * )
288
288
public init ? ( _ p: JobPriority ) {
289
289
guard p. rawValue != 0 else {
290
- /// 0 is "undefined"
290
+ // 0 is "undefined"
291
291
return nil
292
292
}
293
293
self = TaskPriority ( rawValue: p. rawValue)
@@ -325,7 +325,7 @@ extension JobPriority: Comparable {
325
325
}
326
326
327
327
// ==== -----------------------------------------------------------------------
328
- // MARK: UncheckedContinuation
328
+ // MARK: UnsafeContinuation
329
329
330
330
/// A mechanism to interface
331
331
/// between synchronous and asynchronous code,
0 commit comments