Function concat_arrays
pub fn concat_arrays<T, #uint L, #uint R>(l: [T; L], r: [T; R]) -> [T; { L + R }]Expand
Creates an array by concatenating the elements of two existing ones.
The result is an array whose lower elements correspond to the first input array, and its higher
elements correspond to the second one. In other words, given two arrays [l0, l1, ...] and
[r0, r1, ...], the result is [l0, l1, l2, ..., r0, r1, r2, ...].
Examples
assert concat_arrays([], []) == [];
assert concat_arrays([1u8], [2u8, 3u8]) == [1u8, 2u8, 3u8];