From 7cd96f4e31b99017d4c22b835c46443d1740806c Mon Sep 17 00:00:00 2001 From: Kyle Date: Wed, 4 Dec 2024 14:47:37 +0800 Subject: [PATCH] Update TaskLocal.swift documentation --- stdlib/public/Concurrency/TaskLocal.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/public/Concurrency/TaskLocal.swift b/stdlib/public/Concurrency/TaskLocal.swift index a13593edeef1d..8e81c891304a0 100644 --- a/stdlib/public/Concurrency/TaskLocal.swift +++ b/stdlib/public/Concurrency/TaskLocal.swift @@ -100,6 +100,7 @@ public macro TaskLocal() = /// func enter() { /// Example.$traceID.withValue("1234") { /// read() // always "1234", regardless if enter() was called from inside a task or not: +/// } /// } /// /// func read() -> String {