Skip to content

Commit 07709fd

Browse files
authored
no need to mark function @sendable
1 parent e308605 commit 07709fd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

stdlib/public/BackDeployConcurrency/TaskLocal.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ public final class TaskLocal<Value: Sendable>: Sendable, CustomStringConvertible
134134
///
135135
/// If the value is a reference type, it will be retained for the duration of
136136
/// the operation closure.
137-
@Sendable
138137
@discardableResult
139138
public func withValue<R>(_ valueDuringOperation: Value, operation: @Sendable () async throws -> R,
140139
file: String = #file, line: UInt = #line) async rethrows -> R {

0 commit comments

Comments
 (0)