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

Fix some more nightly clippy warnings #779

Merged
merged 2 commits into from
Mar 3, 2024
Merged

Fix some more nightly clippy warnings #779

merged 2 commits into from
Mar 3, 2024

Conversation

jannic
Copy link
Member

@jannic jannic commented Mar 3, 2024

I'm not sure how useful these Default implementations are in practice. But I like the pattern "if there is a non-argument new() constructor, Default should be implemented as well".
https://rust-lang.github.io/rust-clippy/master/index.html#/new_without_default

Copy link
Member

@ithinuel ithinuel left a comment

Choose a reason for hiding this comment

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

Me neither (especially on private types) but if it makes clippy happy 🤷

@ithinuel ithinuel merged commit f1a98fd into rp-rs:main Mar 3, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants