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
StrictEncoding issue with enum tuple struct field initialization #54
Comments
Hm, not sure I understand what specifically linter does not like here and how it can be fixed. Any ideas? |
sorry for closing, pressed the wrong button |
It looks like this is a problem that might be fixed once 1.59 is released: I noticed it goes away if the nightly toolchain is used. |
1.59 got released. Can we close this issue? |
No, it's just that the lint is in stable now. The issue persists. Sorry for confusing the matter, I misspoke earlier. |
🎉 |
Thank you for bringing the attention to the issue! |
When fixing some clippy lints on the descriptor wallet, I ran into an issue here:
Docs on the linter rule are here:
https://rust-lang.github.io/rust-clippy/master/index.html#init_numbered_fields
Normally I wouldn't file a feature request just to satisfy a linter, but this might be indicative of some sort of oversight. Feel free to close if we're comfortable with using
#![allow(clippy::init_numbered_fields)]
in all projects using strict encoding.The text was updated successfully, but these errors were encountered: