default-boxed icon indicating copy to clipboard operation
default-boxed copied to clipboard

Maybe add method for creating boxed slice

Open upsuper opened this issue 5 years ago • 2 comments

It might be useful to add method fn default_boxed_slice(n: usize) -> Box<[Self]> if there are such demand.

upsuper avatar Sep 01 '19 03:09 upsuper

I'd also like a method to create an array, perhaps fn default_boxed_array<const N: usize>() -> Box<[Self; N]>.

bluebear94 avatar Aug 03 '21 21:08 bluebear94

@bluebear94 Thanks for the request. It has been added in 0.1.10.

upsuper avatar Aug 05 '21 12:08 upsuper