mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
5852ca8443
Fix missing parenthesis in suboptimal floating point help This fixes #11559 by adding a branch in the `Neg` implementation for `Sugg` that adds parentheses to keep precedence in order, then using that in the suggestion. I also removed some needless `.to_string()`s while I was at it. --- changelog: none |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |