Most core trait impls for empty arrays are over-constrained #52246
Labels
A-array
Area: `[T; N]`
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
All of the following have
where T: Trait
on their impls for[T; 0]
, but don't need it:A demo of those not in rustdoc:
Kudos to whomever did the
Default
impls for getting this right: https://doc.rust-lang.org/std/primitive.array.html#impl-Default-29The text was updated successfully, but these errors were encountered: