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

Concurrent Merkle Tree: Improve Docs #3589

Merged
merged 3 commits into from Sep 10, 2022
Merged

Conversation

ngundotra
Copy link
Contributor

Address Halborn feedback on documentation & public function visibility

@jarry-xiao
Copy link
Contributor

I hate clippy so much

if let Err(ConcurrentMerkleTreeError::TreeAlreadyInitialized) = cmt.initialize() {
println!("Reinitialization successfully prevented");
} else {
assert!(false, "Tree should not be able to be reinitialized");
Copy link
Contributor

Choose a reason for hiding this comment

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

panic! will appease the clippy gods

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thank you

@jarry-xiao
Copy link
Contributor

Looks good, let's fix clippy and merge this in!

@ngundotra
Copy link
Contributor Author

Merged

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.

None yet

2 participants