Concatenating two arrays
cbeck88 opened this issue · 2 comments
cbeck88 commented
It would be really nice if there was a syntax like
join(arr1, arr2)
that produced a new array of the correct length, if both input arrays have the same type.
Doing it manually with copy_from_slice
is less readable, and copy_from_slice
can panic if you do it wrong, so it would be nice if there is a simpler API that doesn't panic in any scenario.
cbeck88 commented
thank you!