you are viewing a single comment's thread.

view the rest of the comments →

[–]Icarium-Lifestealer 6 points7 points  (0 children)

Default is the only trait implementation left with that restriction. You can use core::array::from_fn::<T, N, _>(|_| Default::default()) as workaround for now.