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

Use (std::)f64::EPSILON in the examples as suggested in the lints #5829

Merged
merged 1 commit into from
Jul 23, 2020

Conversation

JohnTitor
Copy link
Member

float_cmp(_const) suggests using {f32|f64}::EPSILON and it'd be great if the docs mentioned it.

changelog: none

@rust-highfive
Copy link

r? @flip1995

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jul 21, 2020
@flip1995 flip1995 added S-waiting-on-bors Status: The marked PR was approved and is only waiting bors and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties labels Jul 21, 2020
@flip1995
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Jul 22, 2020

📌 Commit 142a273 has been approved by flip1995

bors added a commit that referenced this pull request Jul 22, 2020
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
@bors
Copy link
Contributor

bors commented Jul 22, 2020

⌛ Testing commit 142a273 with merge 42c7d75...

@bors
Copy link
Contributor

bors commented Jul 22, 2020

💔 Test failed - checks-action_test

@JohnTitor
Copy link
Member Author

This is due to rust-lang/rust#74614.
@flip1995 Could we pin rustc version until it's fixed?

@flip1995
Copy link
Member

flip1995 commented Jul 22, 2020

Could we pin rustc version until it's fixed?

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.

@JohnTitor
Copy link
Member Author

That's reasonable, let's do so.

@matthiaskrgr
Copy link
Member

@bors retry

@bors
Copy link
Contributor

bors commented Jul 23, 2020

⌛ Testing commit 142a273 with merge 79f948e...

@bors
Copy link
Contributor

bors commented Jul 23, 2020

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 79f948e to master...

@bors bors merged commit 79f948e into rust-lang:master Jul 23, 2020
@JohnTitor JohnTitor deleted the epsilon branch July 23, 2020 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: The marked PR was approved and is only waiting bors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants