-
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
Use (std::)f64::EPSILON
in the examples as suggested in the lints
#5829
Conversation
r? @flip1995 (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ |
📌 Commit 142a273 has been approved by |
Use `(std::)f64::EPSILON` in the examples as suggested in the lints `float_cmp(_const)` suggests using `{f32|f64}::EPSILON` and it'd be great if the docs mentioned it. changelog: none
💔 Test failed - checks-action_test |
This is due to rust-lang/rust#74614. |
I wouldn't do this right now, but rather wait for a fix for one or two days, since we currently don't have high-prio PRs in the queue. |
That's reasonable, let's do so. |
@bors retry |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
float_cmp(_const)
suggests using{f32|f64}::EPSILON
and it'd be great if the docs mentioned it.changelog: none