Skip to content

stdlib/Concurrency/PartialAsyncTask.swift: Correct typos #69880

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions stdlib/public/Concurrency/PartialAsyncTask.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ extension UnownedJob: CustomStringConvertible {
@available(SwiftStdlib 5.9, *)
public var description: String {
let id = _getJobTaskId(self)
/// Tasks are always assigned an unique ID, however some jobs may not have it set,
/// Tasks are always assigned a unique ID, however some jobs may not have it set,
/// and it appearing as 0 for _different_ jobs may lead to misunderstanding it as
/// being "the same 0 id job", we specifically print 0 (id not set) as nil.
if (id > 0) {
Expand Down Expand Up @@ -151,7 +151,7 @@ public struct Job: Sendable {
@_unavailableInEmbedded
public var description: String {
let id = _getJobTaskId(UnownedJob(context: self.context))
/// Tasks are always assigned an unique ID, however some jobs may not have it set,
/// Tasks are always assigned a unique ID, however some jobs may not have it set,
/// and it appearing as 0 for _different_ jobs may lead to misunderstanding it as
/// being "the same 0 id job", we specifically print 0 (id not set) as nil.
if (id > 0) {
Expand Down Expand Up @@ -220,7 +220,7 @@ public struct ExecutorJob: Sendable {
@_unavailableInEmbedded
public var description: String {
let id = _getJobTaskId(UnownedJob(context: self.context))
/// Tasks are always assigned an unique ID, however some jobs may not have it set,
/// Tasks are always assigned a unique ID, however some jobs may not have it set,
/// and it appearing as 0 for _different_ jobs may lead to misunderstanding it as
/// being "the same 0 id job", we specifically print 0 (id not set) as nil.
if (id > 0) {
Expand Down