You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]`
The text was updated successfully, but these errors were encountered:
japaric
pushed a commit
to japaric/rust
that referenced
this issue
Jan 19, 2015
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.
The text was updated successfully, but these errors were encountered: