Closed jmeaster30 closed 8 months ago
MAYBE The length shouldn't be in the type?
Cause I needed to create an array with a length that is determined at runtime
Make the array type have an optional length so declaring the array type would be array u32 5
or just array u32
. Not sure if the type should remain without a length but not sure if it would be easy to maintain the lengths
Done :)
...instead of the length being built into the type all the time.
There are algorithms that work generically on the length of the array so need to have some way to specify that