結果 : rust get first n elements of array