Skip to content

Commit b738ced

Browse files
committed
Remove unnecessary conversation of Array to Array
1 parent 51612cd commit b738ced

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Sources/Algorithms/Partition.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,7 @@ extension Sequence {
252252
}
253253
}
254254

255-
return (
256-
Array(lhs),
257-
Array(rhs)
258-
)
255+
return (lhs, rhs)
259256
}
260257
}
261258

0 commit comments

Comments
 (0)