Skip to content

Commit f58a46f

Browse files
authored
Merge pull request swiftlang#69671 from Jager-yoo/typos-concurrency
2 parents 98e65d0 + 391eee0 commit f58a46f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

stdlib/public/Concurrency/PartialAsyncTask.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ internal func _swiftJobRun(_ job: UnownedJob,
2424
// ==== -----------------------------------------------------------------------
2525
// MARK: UnownedJob
2626

27-
/// A unit of scheduleable work.
27+
/// A unit of schedulable work.
2828
///
2929
/// Unless you're implementing a scheduler,
3030
/// you don't generally interact with jobs directly.
@@ -117,7 +117,7 @@ extension UnownedJob: CustomStringConvertible {
117117

118118
/// Deprecated equivalent of ``ExecutorJob``.
119119
///
120-
/// A unit of scheduleable work.
120+
/// A unit of schedulable work.
121121
///
122122
/// Unless you're implementing a scheduler,
123123
/// you don't generally interact with jobs directly.
@@ -174,7 +174,7 @@ extension Job {
174174
/// The passed in executor reference is used to establish the executor context for the job,
175175
/// and should be the same executor as the one semantically calling the `runSynchronously` method.
176176
///
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.
178178
///
179179
/// Converting a `ExecutorJob` to an ``UnownedJob`` and invoking ``UnownedJob/runSynchronously(_:)` on it multiple times is undefined behavior,
180180
/// 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 {
187187
}
188188
}
189189

190-
/// A unit of scheduleable work.
190+
/// A unit of schedulable work.
191191
///
192192
/// Unless you're implementing a scheduler,
193193
/// you don't generally interact with jobs directly.
@@ -243,7 +243,7 @@ extension ExecutorJob {
243243
/// The passed in executor reference is used to establish the executor context for the job,
244244
/// and should be the same executor as the one semantically calling the `runSynchronously` method.
245245
///
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.
247247
///
248248
/// Converting a `ExecutorJob` to an ``UnownedJob`` and invoking ``UnownedJob/runSynchronously(_:)` on it multiple times is undefined behavior,
249249
/// 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 {
290290
@available(SwiftStdlib 5.9, *)
291291
public init?(_ p: JobPriority) {
292292
guard p.rawValue != 0 else {
293-
/// 0 is "undefined"
293+
// 0 is "undefined"
294294
return nil
295295
}
296296
self = TaskPriority(rawValue: p.rawValue)
@@ -328,7 +328,7 @@ extension JobPriority: Comparable {
328328
}
329329

330330
// ==== -----------------------------------------------------------------------
331-
// MARK: UncheckedContinuation
331+
// MARK: UnsafeContinuation
332332

333333
/// A mechanism to interface
334334
/// between synchronous and asynchronous code,

0 commit comments

Comments
 (0)