Skip to content

Commit 8511317

Browse files
committed
Replace additional uses of noncopyable metatypes.
1 parent 103bd04 commit 8511317

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/Concurrency/PartialAsyncTask.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ public struct Job: Sendable {
153153
/// and it appearing as 0 for _different_ jobs may lead to misunderstanding it as
154154
/// being "the same 0 id job", we specifically print 0 (id not set) as nil.
155155
if (id > 0) {
156-
return "\(Self.self)(id: \(id))"
156+
return "Job(id: \(id))"
157157
} else {
158-
return "\(Self.self)(id: nil)"
158+
return "Job(id: nil)"
159159
}
160160
}
161161
}

0 commit comments

Comments
 (0)