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

Collapse nested if detected by clippy #6169

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Collapse nested if detected by clippy #6169

merged 1 commit into from
Jun 4, 2024

Conversation

AmrDeveloper
Copy link

Hello,

There are a lot of warns that detected by clippy, is there is any plan to work on them for example as good first issue? many of them are related to nested if else that can be collapsed

@ytmimi
Copy link
Contributor

ytmimi commented Jun 4, 2024

We don't have any large plan to address clippy lints. We sometimes accept clippy PRs, though they're not a high priority for rustfmt. These changes seem fairly straightforward so I'm happy to get these merged.

Ran our Diff Check CI job, and everything passed so we're good to go!

@ytmimi ytmimi merged commit c97996f into rust-lang:master Jun 4, 2024
27 checks passed
@AmrDeveloper AmrDeveloper deleted the collapse_nested_if branch June 4, 2024 05:45
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