Skip to content

Conversation

AlexTMjugador
Copy link

It can be useful to have maps where values are slices or arrays. Given that Rust stabilized the basic const generics we need on Rust 1.51 and the project has a MSRV of 1.56, there is no reason I can see for not implementing this required trait for arrays and slices.

These changes implement such trait for the described types, as long as the contained type implements ConstInstantiable itself.

It can be useful to have maps where values are slices or arrays. Given
that Rust stabilized the basic const generics we need on Rust 1.51 and
the project has a MSRV of 1.56, there is no reason I can see for not
implementing this required trait for arrays and slices.

These changes implement such trait for the described types, as long as
the contained type implements `ConstInstantiable` itself.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant