convert slices into arrays using indexes ([T] -> [T;N])
by Cody P Schafer
Uses old Rust 2015
#825 in Algorithms
6,103 downloads per month Used in 11 crates (4 directly)
5KB 66 lines
Index to fixed-length arrays