-
Notifications
You must be signed in to change notification settings - Fork 47
Reduce minor compilation warnings #964
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
337a89e to
1f8136b
Compare
MartinquaXD
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.
There is not much development happening in this repo. That's why I would suggest also bumping the crate's version number in this PR so we can immediately import the fixed version in the services repo.
| .unwrap_or(&err.message) | ||
| } | ||
|
|
||
| #[allow(unused)] |
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.
Are these allowed(unused) actually needed?
I believe we are exporting these types from the library clippy shouldn't care about them being used in the crate code.
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.
But for some reason, clippy shows unused warnings, probably because I use it with the --all-targets flag.
# Description Reduces Rust compilation warnings. Remaining warnings related to generated smart contracts will be fixed in cowprotocol/ethcontract-rs#964
Eliminates minor compilation warnings while using the generated smart contracts: