Skip to content

Commit ad30745

Browse files
authored
Merge pull request #69669 from ktoso/wip-docs-remove-misleading
[Docs][TaskLocal] Remove comment which is true, but is confusing to end users
2 parents c80901b + 68ccbce commit ad30745

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

stdlib/public/Concurrency/TaskLocal.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ import Swift
9090
/// func call() {
9191
/// print("traceID: \(traceID)") // 1234
9292
/// }
93-
///
94-
/// This type must be a `class` so it has a stable identity, that is used as key
95-
/// value for lookups in the task local storage.
9693
@propertyWrapper
9794
@available(SwiftStdlib 5.1, *)
9895
public final class TaskLocal<Value: Sendable>: Sendable, CustomStringConvertible {

0 commit comments

Comments
 (0)