Skip to content

Conversation

xFrednet
Copy link
Contributor

@xFrednet xFrednet commented Sep 1, 2022

This is a rebased version of #9086 I could sadly not push directly push to the PR branch as it's protected.

The lint implementation comes from @jst-r. Thank you for the work you put into this :)


Closes: #8131
Closes: #9086

changelog: Add lint [bool_to_int_with_if]

r? @ghost

@xFrednet
Copy link
Contributor Author

xFrednet commented Sep 1, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Sep 1, 2022

📌 Commit b1f86a4 has been approved by xFrednet

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Sep 1, 2022

⌛ Testing commit b1f86a4 with merge 334be18...

@bors
Copy link
Contributor

bors commented Sep 1, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: xFrednet
Pushing 334be18 to master...

@bors bors merged commit 334be18 into rust-lang:master Sep 1, 2022
@xFrednet xFrednet deleted the jst-r-bool-to-int-lint branch September 10, 2022 21:47
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.

Suggest casting bool to int instead of using if statement.
2 participants