You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix missing parenthesis in suboptimal floating point help
This fixesrust-lang#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
2213: dangling link: binary-move-expressions
2216: dangling link: unary-move-expressions
2217: dangling link: swap-expressions
2230: dangling link: move-expressions
2232: dangling link: owning-pointers
3113: dangling link: struct-expressions
3119: dangling link: visibility-modifiers
3125: dangling link: structure-expression
3796: dangling link: log-expressions
The text was updated successfully, but these errors were encountered: