Skip to content

Commit 5d55621

Browse files
Merge pull request #71508 from mtj0928/main
2 parents c9aaf50 + 343f8e5 commit 5d55621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/Concurrency/TaskLocal.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import Swift
2626
///
2727
/// enum Example {
2828
/// @TaskLocal
29-
/// static let traceID: TraceID?
29+
/// static var traceID: TraceID?
3030
/// }
3131
///
3232
/// ### Default values
@@ -37,7 +37,7 @@ import Swift
3737
///
3838
/// enum Example {
3939
/// @TaskLocal
40-
/// static let traceID: TraceID = TraceID.default
40+
/// static var traceID: TraceID = TraceID.default
4141
/// }
4242
///
4343
/// The default value is returned whenever the task-local is read

0 commit comments

Comments
 (0)