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

fix(clippy): actually fix clippy::bool_to_int_with_if #5350

Merged
merged 1 commit into from
Oct 6, 2022

Conversation

teor2345
Copy link
Contributor

@teor2345 teor2345 commented Oct 6, 2022

Motivation

For some reason the fix in PR #5300 doesn't work any more. Maybe the clippy implementation changed, or using two attributes requires a block.

@teor2345 teor2345 added C-cleanup Category: This is a cleanup P-Low ❄️ A-diagnostics Area: Diagnosing issues or monitoring performance C-trivial Category: A trivial change that is not worth mentioning in the CHANGELOG labels Oct 6, 2022
@teor2345 teor2345 self-assigned this Oct 6, 2022
@teor2345 teor2345 requested a review from a team as a code owner October 6, 2022 03:04
@teor2345 teor2345 requested review from dconnolly and removed request for a team October 6, 2022 03:04
@github-actions github-actions bot added the C-bug Category: This is a bug label Oct 6, 2022
@codecov
Copy link

codecov bot commented Oct 6, 2022

Codecov Report

Merging #5350 (492725b) into main (8a5708c) will decrease coverage by 0.04%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5350      +/-   ##
==========================================
- Coverage   79.14%   79.10%   -0.05%     
==========================================
  Files         308      308              
  Lines       39560    39560              
==========================================
- Hits        31311    31292      -19     
- Misses       8249     8268      +19     

mergify bot added a commit that referenced this pull request Oct 6, 2022
@mergify mergify bot merged commit 6507230 into main Oct 6, 2022
@mergify mergify bot deleted the clippy-bool-conversion branch October 6, 2022 20:00
@teor2345 teor2345 mentioned this pull request Oct 11, 2022
32 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics Area: Diagnosing issues or monitoring performance C-bug Category: This is a bug C-cleanup Category: This is a cleanup C-trivial Category: A trivial change that is not worth mentioning in the CHANGELOG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants