-
Notifications
You must be signed in to change notification settings - Fork 113
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
feat(clippy): Add fallible_impl_from
lint
#4609
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4609 +/- ##
==========================================
- Coverage 79.07% 78.92% -0.15%
==========================================
Files 304 304
Lines 37418 37421 +3
==========================================
- Hits 29589 29536 -53
- Misses 7829 7885 +56 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to check the changes to the network protocol, everything else is optional.
I did not review the cryptography in detail.
I'm updating this PR, so I can see if the CI failures are from an old |
@Mergifyio update |
✅ Branch has been successfully updated |
Force pushed, this is now just c0c30ed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good!
@Mergifyio update |
✅ Branch has been successfully updated |
Motivation
In #2297 we want to add some panic lints to zebra. This is part 1 of 3 where the
fallible_impl_from
is added.Solution
Add the lint and fix the code where needed.
Review
Please review carefully, there are error messages that might be changed. I think @dconnolly wrote most of the changed code in orchard and sapling keys but anyone that can take a look is welcome.
Reviewer Checklist
Follow Up Work
We want to add 2 more related lints but i think it was too much to add them in a single PR so i splitted into 3.