diff options
| author | bors <bors@rust-lang.org> | 2023-10-28 18:46:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-28 18:46:28 +0000 |
| commit | 5852ca84433b87b95916ec226784a11091f58af1 (patch) | |
| tree | bed38934f05e171c280bd1a31820816fd94b6629 /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | f8409ef85fe3906f1bcec94337da3fce53171b81 (diff) | |
| parent | 1ed100144028cd08dcdc3c17475ab5cfce8629d1 (diff) | |
| download | rust-5852ca84433b87b95916ec226784a11091f58af1.tar.gz rust-5852ca84433b87b95916ec226784a11091f58af1.zip | |
Auto merge of #11724 - rust-lang:fix-11559, r=blyxyas
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
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
