Skip to content

Commit a0e58c6

Browse files
committed
Back out a non-documentation comment change.
Thanks, @tbkka! Confirmed this was the only one by running: git diff github/release/5.5-08092021...HEAD \ | grep '^+\|^-' \ | grep -v '^+++\|^---' \ | grep -v '^- *///\|^+ *///'
1 parent e48de1a commit a0e58c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/Concurrency/TaskCancellation.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ public func withTaskCancellationHandler<T>(
3434
) async rethrows -> T {
3535
let task = Builtin.getCurrentAsyncTask()
3636

37-
// Unconditionally add the cancellation record to the task.
38-
// If the task was already canceled, it executes immediately.
37+
// unconditionally add the cancellation record to the task.
38+
// if the task was already cancelled, it will be executed right away.
3939
let record = _taskAddCancellationHandler(handler: handler)
4040
defer { _taskRemoveCancellationHandler(record: record) }
4141

0 commit comments

Comments
 (0)