Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added needed traits to NetworkSize #175

Merged
merged 3 commits into from Jun 14, 2023
Merged

Conversation

ctrlcctrlv
Copy link
Contributor

Closes #174.

Comment on lines -121 to -122
#[derive(Debug, Clone, Copy, Hash, PartialEq, Eq, PartialOrd, Ord)]
pub enum NetworkSize {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This auto-derivation is wrong. I implemented Eq correctly in size.rs.

@achanda achanda merged commit d19ac33 into achanda:master Jun 14, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NetworkSize should implement From<u32>, From<u128>, TryInto<u32> and Into<u128>
2 participants