-
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
New lints [manual_is_infinite
] and [manual_is_finite
]
#11049
Conversation
r? @xFrednet (rustbot has picked a reviewer for you, use r? to override) |
☔ The latest upstream changes (presumably #11020) made this pull request unmergeable. Please resolve the merge conflicts. |
6bc229b
to
1aa3f21
Compare
|
Almost nobody would intentionally account for NaN in those cases regardless. Should add a note about |
We could probably suggest either |
r ? @blyxyas Would you mind taking over this review :) |
BTW, one thing you might also want to check, is if this is in a const block. I would guess that |
Yeah, I will take over and control this review. Subjugate it |
Good point, we can probably check that and make sure |
49e864f
to
fa31c15
Compare
fa31c15
to
536b162
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.
Looks good to me, thanks! ❤️
cc @xFrednet
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.
This looks good to me, just two small nits and then it's ready for bors. Thank you for the implementation!
And thank you @blyxyas for the review :D
536b162
to
41438c2
Compare
@bors r=blyxyas,xFrednet |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Closes #9665
changelog: New lints [
manual_is_infinite
] and [manual_is_finite
]#11049