Skip to content

Commit 7a7acb4

Browse files
Concurrency: Remove unnecessary sending keyword
1 parent 0c43cbf commit 7a7acb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/JavaScriptKit/FundamentalObjects/JSClosure.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ private func makeAsyncClosure(
194194
@_cdecl("_call_host_function_impl")
195195
func _call_host_function_impl(
196196
_ hostFuncRef: JavaScriptHostFuncRef,
197-
_ argv: sending UnsafePointer<RawJSValue>, _ argc: Int32,
197+
_ argv: UnsafePointer<RawJSValue>, _ argc: Int32,
198198
_ callbackFuncRef: JavaScriptObjectRef
199199
) -> Bool {
200200
guard let (_, hostFunc) = JSClosure.sharedClosures.wrappedValue[hostFuncRef] else {

0 commit comments

Comments
 (0)