@bascule ("Tony “Abolish ICE” Arcieri 🦀🌹") wrote:
core::array::(try_)from_fn, which builds a const generic array from a lambda, was just merged into the nightly @rustlang compiler! 🎉
I've wanted this for so long!!!
https://github.com/rust-lang/rust/pull/75644
