Skip to content

Commit

Permalink
Update TaskLocal.swift documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Ye authored Dec 4, 2024
1 parent 87495c6 commit 7cd96f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stdlib/public/Concurrency/TaskLocal.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7cd96f4

Please sign in to comment.