-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
update: Sugg::not()
replacing the comparison operator. #7320
#8117
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @camsteffen (or someone else) soon. Please see the contribution instructions for more information. |
Oops, the test is failing, I'll check. |
The test now succeeds. |
…g#7320 When inverting an expression, the output is now like ```foo != 0``` instead of ```!(foo == 0)```, the comparison operator is now replaced.
Sugg::not()
replacing the comparison operator. #7320
Tweak the commit message and title. |
92bfc48
to
5a65936
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for addressing all the comments! This looks great now. Please squash some commits.
I squashed. |
Thanks! @bors r+ |
📌 Commit a172439 has been approved by |
💥 Test timed out |
@bors retry |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
@giraffate @camsteffen Thanks for the review! |
fixes #7320
changelog:
needless_bool
: Changed to make a smart suggestion.