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

Add #[allow(clippy::should_implement_trait)] if method is named default #1395

Merged

Conversation

GuillaumeGomez
Copy link
Member

@GuillaumeGomez GuillaumeGomez force-pushed the allow-should-implement-trait branch from e0a5e55 to 60c4816 Compare October 26, 2022 20:15
Copy link
Member

@sdroege sdroege left a comment

Choose a reason for hiding this comment

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

It's sufficient to put it on the function instead of the type? Sure, go ahead

@GuillaumeGomez
Copy link
Member Author

Apparently. :)

@GuillaumeGomez GuillaumeGomez merged commit 818f714 into gtk-rs:master Oct 27, 2022
@GuillaumeGomez GuillaumeGomez deleted the allow-should-implement-trait branch October 27, 2022 09:02
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