Skip to content

Commit a3e8d10

Browse files
committed
Fix missing curly brace in TaskLocal documentation
1 parent 87495c6 commit a3e8d10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/Concurrency/TaskLocal.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ public macro TaskLocal() =
100100
/// func enter() {
101101
/// Example.$traceID.withValue("1234") {
102102
/// read() // always "1234", regardless if enter() was called from inside a task or not:
103+
/// }
103104
/// }
104105
///
105106
/// func read() -> String {

0 commit comments

Comments
 (0)