Skip to content

Commit 36e01c2

Browse files
authored
stdlib/Concurrency/PartialAsyncTask.swift: Correct typos (#69880)
1 parent 7636866 commit 36e01c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/public/Concurrency/PartialAsyncTask.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ extension UnownedJob: CustomStringConvertible {
102102
@available(SwiftStdlib 5.9, *)
103103
public var description: String {
104104
let id = _getJobTaskId(self)
105-
/// Tasks are always assigned an unique ID, however some jobs may not have it set,
105+
/// Tasks are always assigned a unique ID, however some jobs may not have it set,
106106
/// and it appearing as 0 for _different_ jobs may lead to misunderstanding it as
107107
/// being "the same 0 id job", we specifically print 0 (id not set) as nil.
108108
if (id > 0) {
@@ -151,7 +151,7 @@ public struct Job: Sendable {
151151
@_unavailableInEmbedded
152152
public var description: String {
153153
let id = _getJobTaskId(UnownedJob(context: self.context))
154-
/// Tasks are always assigned an unique ID, however some jobs may not have it set,
154+
/// Tasks are always assigned a unique ID, however some jobs may not have it set,
155155
/// and it appearing as 0 for _different_ jobs may lead to misunderstanding it as
156156
/// being "the same 0 id job", we specifically print 0 (id not set) as nil.
157157
if (id > 0) {
@@ -220,7 +220,7 @@ public struct ExecutorJob: Sendable {
220220
@_unavailableInEmbedded
221221
public var description: String {
222222
let id = _getJobTaskId(UnownedJob(context: self.context))
223-
/// Tasks are always assigned an unique ID, however some jobs may not have it set,
223+
/// Tasks are always assigned a unique ID, however some jobs may not have it set,
224224
/// and it appearing as 0 for _different_ jobs may lead to misunderstanding it as
225225
/// being "the same 0 id job", we specifically print 0 (id not set) as nil.
226226
if (id > 0) {

0 commit comments

Comments
 (0)