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

Silence clippy::needless_update for fully specified MroUsing. #497

Merged

Conversation

macklin-10x
Copy link
Collaborator

Any stage that specifies all four MroUsing parameters will trigger clippy::needless_update since the final ..Default::default() will set no fields. Silence it locally.

@pmarks
Copy link
Contributor

pmarks commented May 29, 2024

thanks @macklin-10x !

@macklin-10x macklin-10x merged commit ac52194 into master May 29, 2024
2 checks passed
@macklin-10x macklin-10x deleted the macklin/silence-lint-for-fully-populated-mro-options branch May 29, 2024 21:11
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.

3 participants