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

Fixed issues with to_radians and to_degrees lints #8187

Merged
merged 1 commit into from
Dec 28, 2021

Conversation

ApamNapat
Copy link
Contributor

fixes #7651

I fixed the original problem as described in the issue, but the bug remains for complex expressions (the commented out TC I added is an example). I would also love some feedback on how to cleanup my code and reduce duplication. I hope it's not a problem that the issue has been claimed by someone else - that was over two months ago.

changelog: [`suboptimal_flops`] no longer proposes broken code with to_radians and to_degrees

@rust-highfive
Copy link

r? @llogiq

(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 Dec 28, 2021
@llogiq
Copy link
Contributor

llogiq commented Dec 28, 2021

Thanks, looks good. r=me when CI is green.

@llogiq
Copy link
Contributor

llogiq commented Dec 28, 2021

@bors r+

@bors
Copy link
Contributor

bors commented Dec 28, 2021

📌 Commit d5c4119 has been approved by llogiq

@bors
Copy link
Contributor

bors commented Dec 28, 2021

⌛ Testing commit d5c4119 with merge a139949...

@bors
Copy link
Contributor

bors commented Dec 28, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: llogiq
Pushing a139949 to master...

@bors bors merged commit a139949 into rust-lang:master Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

clippy suggests40..to_radians() which is a compile error
4 participants