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
Copy file name to clipboardExpand all lines: src/expressions/operator-expr.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -911,7 +911,7 @@ It will then set the value of the assigned operand's place to the value of perfo
911
911
912
912
> [!NOTE]
913
913
> This right-before-left evaluation only occurs in non-generic code involving primitive types.
914
-
> In all other cases—including generic contexts or non-primitive types—the expression is desugared into a trait method call, and operands are evaluated left to right.
914
+
> In all other cases---including generic contexts or non-primitive types---the expression is desugared into a trait method call, and operands are evaluated left to right.
915
915
916
916
r[expr.compound-assign.trait]
917
917
Otherwise, this expression is syntactic sugar for calling the function of the overloading compound assignment trait of the operator (see the table earlier in this chapter).
0 commit comments