Closed cbeck88 closed 4 years ago
The motivations are to allow Aligned to be used easily in types that are stored in sets and maps. Implementing PartialEq also allows to make tests that assert_eq! that Aligned values are equal.
Aligned
PartialEq
assert_eq!
Thanks for merging https://github.com/japaric/aligned/pull/9 ! This is the last PR like this that I foresee.
Thanks!
The motivations are to allow
Aligned
to be used easily in types that are stored in sets and maps. ImplementingPartialEq
also allows to make tests thatassert_eq!
thatAligned
values are equal.Thanks for merging https://github.com/japaric/aligned/pull/9 ! This is the last PR like this that I foresee.