File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -153,9 +153,9 @@ public struct Job: Sendable {
153
153
/// and it appearing as 0 for _different_ jobs may lead to misunderstanding it as
154
154
/// being "the same 0 id job", we specifically print 0 (id not set) as nil.
155
155
if ( id > 0 ) {
156
- return " \( Self . self ) (id: \( id) ) "
156
+ return " Job (id: \( id) ) "
157
157
} else {
158
- return " \( Self . self ) (id: nil) "
158
+ return " Job (id: nil)"
159
159
}
160
160
}
161
161
}
@@ -221,9 +221,9 @@ public struct ExecutorJob: Sendable {
221
221
/// and it appearing as 0 for _different_ jobs may lead to misunderstanding it as
222
222
/// being "the same 0 id job", we specifically print 0 (id not set) as nil.
223
223
if ( id > 0 ) {
224
- return " \( Self . self ) (id: \( id) ) "
224
+ return " ExecutorJob (id: \( id) ) "
225
225
} else {
226
- return " \( Self . self ) (id: nil) "
226
+ return " ExecutorJob (id: nil)"
227
227
}
228
228
}
229
229
}
You can’t perform that action at this time.
0 commit comments