Skip to content

Fix typos in Task.h #72582

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
Mar 26, 2024
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
4 changes: 2 additions & 2 deletions include/swift/ABI/Task.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class NullaryContinuationJob : public Job {
}
};

/// Descibes type information and offers value methods for an arbitrary concrete
/// Describes type information and offers value methods for an arbitrary concrete
/// type in a way that's compatible with regular Swift and embedded Swift. In
/// regular Swift, just holds a Metadata pointer and dispatches to the value
/// witness table. In embedded Swift, because we do not have any value witness
Expand Down Expand Up @@ -424,7 +424,7 @@ class AsyncTask : public Job {

/// WARNING: Only to be used during task completion (destroy).
///
/// This is because between task creation and its destory, we cannot carry the
/// This is because between task creation and its destroy, we cannot carry the
/// exact record to `pop(record)`, and instead assume that there will be
/// exactly one record remaining -- the "initial" record (added during
/// creating the task), and it must be that record that is removed by this
Expand Down