mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +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 |