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

Allow new clippy::if_same_then_else #1475

Merged
merged 2 commits into from
Oct 24, 2021
Merged

Allow new clippy::if_same_then_else #1475

merged 2 commits into from
Oct 24, 2021

Conversation

kvark
Copy link
Member

@kvark kvark commented Oct 24, 2021

Sometimes I'm wondering why clippy is so picky by default. In this case, there are many legitimate reasons to have duplicate code in "if/else if" branches.

@kvark kvark merged commit fd50852 into gfx-rs:master Oct 24, 2021
@kvark kvark deleted the clippy branch October 24, 2021 03:39
@kvark kvark mentioned this pull request Oct 24, 2021
@kvark kvark mentioned this pull request Dec 2, 2021
@kvark
Copy link
Member Author

kvark commented Dec 2, 2021

Published in 0.7.2

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.

1 participant