We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1c68d5 commit 343f8e5Copy full SHA for 343f8e5
stdlib/public/Concurrency/TaskLocal.swift
@@ -26,7 +26,7 @@ import Swift
26
///
27
/// enum Example {
28
/// @TaskLocal
29
-/// static let traceID: TraceID?
+/// static var traceID: TraceID?
30
/// }
31
32
/// ### Default values
@@ -37,7 +37,7 @@ import Swift
37
38
39
40
-/// static let traceID: TraceID = TraceID.default
+/// static var traceID: TraceID = TraceID.default
41
42
43
/// The default value is returned whenever the task-local is read
0 commit comments