Skip to content

Commit db00986

Browse files
committed
derive(Hash) for P2P messages
In other languages (Java and C#, notably), overriding `Eq` without overriding `Hash` can lead to surprising or broken behavior. Even in Rust, its usually the case that you actually want both. Here we add missing `Hash` derivations for P2P messages, to at least address the first pile of warnings the C# compiler dumps.
1 parent 8deb866 commit db00986

File tree

4 files changed

+57
-57
lines changed

4 files changed

+57
-57
lines changed

0 commit comments

Comments
 (0)