default-boxed
default-boxed copied to clipboard
Maybe add method for creating boxed slice
It might be useful to add method fn default_boxed_slice(n: usize) -> Box<[Self]>
if there are such demand.
I'd also like a method to create an array, perhaps fn default_boxed_array<const N: usize>() -> Box<[Self; N]>
.
@bluebear94 Thanks for the request. It has been added in 0.1.10.