We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a03568 commit 61d063fCopy full SHA for 61d063f
src/expressions/operator-expr.md
@@ -498,8 +498,10 @@ fn example() {
498
<div class="warning">
499
500
Warning: The evaluation order of operands swaps depending on the types of the
501
-operands. Try not to write code that depends on the evaluation order of operands
502
-in compound assignment expressions. See [this test] for an example of using this
+operands: with primitive types the right-hand side will get evaluated first,
+while with non-primitive types the left-hand side will get evaluated first.
503
+Try not to write code that depends on the evaluation order of operands in
504
+compound assignment expressions. See [this test] for an example of using this
505
dependency.
506
507
</div>
0 commit comments