Skip to content

Commit 64c9526

Browse files
committed
Remove duplicated generic definition
The functions parent scope already defines the same generic.
1 parent c283fa3 commit 64c9526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Sources/JavaScriptKit/ConvertibleToJSValue.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ extension Array where Element == ConvertibleToJSValue {
256256
// fast path for empty array
257257
guard self.count != 0 else { return body([]) }
258258

259-
func _withRawJSValues<T>(
259+
func _withRawJSValues(
260260
_ values: [ConvertibleToJSValue], _ index: Int,
261261
_ results: inout [RawJSValue], _ body: ([RawJSValue]) -> T
262262
) -> T {

0 commit comments

Comments
 (0)