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

Fix ambiguous method for AssertZeroizeOnDrop #725

Merged
merged 1 commit into from Jan 31, 2022

Conversation

daxpedda
Copy link
Contributor

I added another level of indirection to fix #724 and a couple of tests to make sure.

I believe the edge-cases arisen so far are because autoref-specialization is usually not applied on methods needing &mut self, so I was lacking a bit of experience here.

I hope we covered all edge-cases now.

@tarcieri tarcieri merged commit ba4e7e7 into RustCrypto:master Jan 31, 2022
@tarcieri tarcieri mentioned this pull request Jan 31, 2022
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.

zeroize_derive: use of PhantomData
2 participants