Closed tarcieri closed 8 months ago
...instead of AsRef/AsMut, which allows inference to work for those traits.
AsRef
AsMut
Notably [T; N] doesn't impl AsRef/AsMut for itself, only for slices, so this is more consistent.
[T; N]
...instead of
AsRef
/AsMut
, which allows inference to work for those traits.Notably
[T; N]
doesn't implAsRef
/AsMut
for itself, only for slices, so this is more consistent.