Skip to content

Conversation

@alhubanov
Copy link
Contributor

@alhubanov alhubanov commented Jan 2, 2026

fixes #5753


changelog: [match_bool]: restricts the match_bool lint to trigger only if the match expression contains only 2 arms

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jan 2, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 2, 2026

r? @llogiq

rustbot has assigned @llogiq.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@llogiq
Copy link
Contributor

llogiq commented Jan 6, 2026

Looks good to me. Thank you.

@llogiq llogiq added this pull request to the merge queue Jan 6, 2026
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

Lintcheck changes for da1ffbe

Lint Added Removed Changed
clippy::match_bool 0 2 0

This comment will be updated if you push new changes

Merged via the queue into rust-lang:master with commit f39e7e0 Jan 6, 2026
12 of 19 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jan 6, 2026
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.

Should match on bool with if-s on match arms be considered idiomatic?

3 participants