Closed tarcieri closed 8 months ago
Also impls FromFn for Array.
FromFn
Array
Now that this trait has a single method, it can be renamed to match that single method's functionality.
It also changes the implementation to use core::array::from_fn now that it's stable.
core::array::from_fn
Also impls
FromFn
forArray
.Now that this trait has a single method, it can be renamed to match that single method's functionality.
It also changes the implementation to use
core::array::from_fn
now that it's stable.