4

Fixed issues with to_radians and to_degrees lints by ApamNapat · Pull Request #8...

 2 years ago
source link: https://github.com/rust-lang/rust-clippy/pull/8187
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Copy link

Contributor

ApamNapat commented 20 days ago

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK