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

Additional clippy lints from latest nightly #219

Merged
merged 5 commits into from
Aug 25, 2023
Merged

Conversation

rkuris
Copy link
Collaborator

@rkuris rkuris commented Aug 24, 2023

Attempting to get ahead of future stable lint snags.

This one found a few inefficient memory initializations and some useless statements.

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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the difference?

Copy link
Collaborator Author

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.

Copy link
Contributor

@richardpringle richardpringle left a 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.

firewood/src/nibbles.rs Outdated Show resolved Hide resolved
firewood/src/nibbles.rs Outdated Show resolved Hide resolved
shale/src/cached.rs Show resolved Hide resolved
@rkuris rkuris merged commit f0f88c9 into main Aug 25, 2023
5 checks passed
@rkuris rkuris deleted the rkuris/clip-on-clip-off branch August 25, 2023 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants