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
Don't use pub
keyword in examples, and don't derive everything but the kitchen sink in examples
#1141
Comments
As author of |
FTR, I was assuming that the example would be cleaned up #957 which was the main reason that I ACKed it #940 (review). |
Removing I'm not that experienced in Rust, but from what I've read in the visibility and privacy chapter from the rust book the Am I missing something here?
|
@lorenzolfm thanks for checking on this. For the stuff inside the inline I'm not sure in detail what @sanket1729 means by "cleaning up" this example but it may be that we can entirely delete the module after #957 merges and then we can avoid this altogether :). |
Yes correct, the module is temporary while we work on the signing API (#957). I like |
With the removal of the signing code from |
pub
is useless in binaries and unused derives are not helpful.Example offender:
pub enum SighashError
inexamples/ecdsa-psbt.rs
(disclaimer: didn't actually check if the derives are unused but seems almost certain some are)The text was updated successfully, but these errors were encountered: