Skip to content

Commit f9c2bc0

Browse files
ktosoDougGregor
andauthored
Apply suggestions from code review
Co-authored-by: Doug Gregor <[email protected]>
1 parent 342ce7e commit f9c2bc0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

stdlib/public/BackDeployConcurrency/TaskLocal.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,15 +218,15 @@ public final class TaskLocal<Value: Sendable>: Sendable, CustomStringConvertible
218218
// ==== ------------------------------------------------------------------------
219219

220220
@available(SwiftStdlib 5.1, *)
221-
@_alwaysEmitIntoClient
221+
@usableFromInline
222222
@_silgen_name("swift_task_localValuePush")
223223
func _taskLocalValuePush<Value>(
224224
key: Builtin.RawPointer/*: Key*/,
225225
value: __owned Value
226226
) // where Key: TaskLocal
227227

228228
@available(SwiftStdlib 5.1, *)
229-
@_alwaysEmitIntoClient
229+
@usableFromInline
230230
@_silgen_name("swift_task_localValuePop")
231231
func _taskLocalValuePop()
232232

stdlib/public/Concurrency/TaskLocal.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,15 +218,15 @@ public final class TaskLocal<Value: Sendable>: Sendable, CustomStringConvertible
218218
// ==== ------------------------------------------------------------------------
219219

220220
@available(SwiftStdlib 5.1, *)
221-
@_alwaysEmitIntoClient
221+
@usableFromInline
222222
@_silgen_name("swift_task_localValuePush")
223223
func _taskLocalValuePush<Value>(
224224
key: Builtin.RawPointer/*: Key*/,
225225
value: __owned Value
226226
) // where Key: TaskLocal
227227

228228
@available(SwiftStdlib 5.1, *)
229-
@_alwaysEmitIntoClient
229+
@usableFromInline
230230
@_silgen_name("swift_task_localValuePop")
231231
func _taskLocalValuePop()
232232

0 commit comments

Comments
 (0)