| ▲ | steveklabnik 3 days ago | |||||||
Yes, it is possible that Rust will add more complexity here specifically, but also just in general. Just how it goes :) | ||||||||
| ▲ | okanat 3 days ago | parent [-] | |||||||
I am not so sure. A purely type-system-based API (in place initialization + MaybeUninit ?) or a new "static" Vec type can already solve most of the problems with Box::new([val; N]). | ||||||||
| ||||||||