@@ -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.
@@ -117,7 +117,7 @@ extension UnownedJob: CustomStringConvertible {
117
117
118
118
/// Deprecated equivalent of ``ExecutorJob``.
119
119
///
120
- /// A unit of scheduleable work.
120
+ /// A unit of schedulable work.
121
121
///
122
122
/// Unless you're implementing a scheduler,
123
123
/// you don't generally interact with jobs directly.
@@ -174,7 +174,7 @@ extension Job {
174
174
/// The passed in executor reference is used to establish the executor context for the job,
175
175
/// and should be the same executor as the one semantically calling the `runSynchronously` method.
176
176
///
177
- /// This operation consumes the job, preventing it accidental use after it has ben run.
177
+ /// This operation consumes the job, preventing it accidental use after it has been run.
178
178
///
179
179
/// Converting a `ExecutorJob` to an ``UnownedJob`` and invoking ``UnownedJob/runSynchronously(_:)` on it multiple times is undefined behavior,
180
180
/// as a job can only ever be run once, and must not be accessed after it has been run.
@@ -187,7 +187,7 @@ extension Job {
187
187
}
188
188
}
189
189
190
- /// A unit of scheduleable work.
190
+ /// A unit of schedulable work.
191
191
///
192
192
/// Unless you're implementing a scheduler,
193
193
/// you don't generally interact with jobs directly.
@@ -243,7 +243,7 @@ extension ExecutorJob {
243
243
/// The passed in executor reference is used to establish the executor context for the job,
244
244
/// and should be the same executor as the one semantically calling the `runSynchronously` method.
245
245
///
246
- /// This operation consumes the job, preventing it accidental use after it has ben run.
246
+ /// This operation consumes the job, preventing it accidental use after it has been run.
247
247
///
248
248
/// Converting a `ExecutorJob` to an ``UnownedJob`` and invoking ``UnownedJob/runSynchronously(_:)` on it multiple times is undefined behavior,
249
249
/// as a job can only ever be run once, and must not be accessed after it has been run.
@@ -290,7 +290,7 @@ extension TaskPriority {
290
290
@available ( SwiftStdlib 5 . 9 , * )
291
291
public init ? ( _ p: JobPriority ) {
292
292
guard p. rawValue != 0 else {
293
- /// 0 is "undefined"
293
+ // 0 is "undefined"
294
294
return nil
295
295
}
296
296
self = TaskPriority ( rawValue: p. rawValue)
@@ -328,7 +328,7 @@ extension JobPriority: Comparable {
328
328
}
329
329
330
330
// ==== -----------------------------------------------------------------------
331
- // MARK: UncheckedContinuation
331
+ // MARK: UnsafeContinuation
332
332
333
333
/// A mechanism to interface
334
334
/// between synchronous and asynchronous code,
0 commit comments