-
Notifications
You must be signed in to change notification settings - Fork 12
Address PR comments in #74 #77
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #77 +/- ##
==========================================
+ Coverage 23.38% 23.40% +0.01%
==========================================
Files 18 18
Lines 3540 3547 +7
==========================================
+ Hits 828 830 +2
- Misses 2712 2717 +5
|
|
rebased @ 43f943e (@piotr-roslaniec) |
| pub conditions: Option<Conditions>, | ||
| } | ||
|
|
||
| impl Eq for AuthenticatedData {} |
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.
Does it work if you just add it to the list in #[derive]?
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.
Not quite. We'd also need to #[derive(Eq)] for DkgPublicKey in ferveo
manumonti
left a comment
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.
Not a rust developer, but looks good. ✌️
derekpierre
left a comment
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.
Nice work! Thanks for taking care of this.
| Ok(Self(nucypher_core::ReencryptionResponse::new( | ||
| signer.as_ref(), | ||
| backend_capsules.iter().zip(backend_vcfrags.into_iter()), | ||
| backend_capsules.iter().zip(backend_vcfrags), |
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.
@piotr-roslaniec Let's be careful changing old PRE code unless necessary.
Is it that into_iter() no longer works, or is zip(...) just best practice?
Type of PR:
Required reviews:
What this does:
unwrap(), and handles errors gracefully insteadPartialEqimpl. with aderivemacrostable(1.7.2)Issues fixed/closed:
Why it's needed:
Notes for reviewers: