From 5e132224b4a0d6b77691320945c25842930c2b11 Mon Sep 17 00:00:00 2001 From: Kyle Robson Date: Thu, 20 Nov 2025 10:50:28 -0800 Subject: [PATCH] fix immediate Task docs --- stdlib/public/Concurrency/Task+immediate.swift.gyb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/public/Concurrency/Task+immediate.swift.gyb b/stdlib/public/Concurrency/Task+immediate.swift.gyb index 1920d34e996c6..f9cb7fddfc2e1 100644 --- a/stdlib/public/Concurrency/Task+immediate.swift.gyb +++ b/stdlib/public/Concurrency/Task+immediate.swift.gyb @@ -56,9 +56,9 @@ import Swift extension Task where Failure == ${FAILURE_TYPE} { % if IS_DETACHED: - /// Create and immediately start running a new task in the context of the calling thread/task. - % else: /// Create and immediately start running a new detached task in the context of the calling thread/task. + % else: + /// Create and immediately start running a new task in the context of the calling thread/task. % end # IS_DETACHED /// /// This function _starts_ the created task on the calling context.