-
Notifications
You must be signed in to change notification settings - Fork 11
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
Additional clippy lints from latest nightly #219
Conversation
Attempting to get ahead of future stable lint snags. This one found a few inefficient memory initializations and some useless statements.
@@ -6,6 +6,7 @@ members = [ | |||
"firewood", | |||
"fwdctl", | |||
] | |||
resolver = "2" |
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.
What's the difference?
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.
https://rust-lang.github.io/rfcs/2957-cargo-features2.html#summary
This becomes the default later anyway, they just didn't want to break people right away, but it has no issues for us.
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.
We should not be allowing skip(0)
... I that's a better indication that those tests don't provide any value.
Per review comments
…d into rkuris/clip-on-clip-off
Attempting to get ahead of future stable lint snags.
This one found a few inefficient memory initializations and some useless statements.