Closed
Description
Perhaps this is more of a wishlist item than anything, but here goes:
While some simple container types implement Hash, fixed-size arrays do not.
#[derive(Hash)]
struct Foo {
a: Vec<bool>,
b: (bool, bool),
c: [bool; 2],
}
error: the trait `core::hash::Hash<__S>` is not implemented for the type `[bool; 2]`
Metadata
Metadata
Assignees
Labels
No labels