Skip to content

Commit 61d063f

Browse files
committed
Address review request
1 parent 6a03568 commit 61d063f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/expressions/operator-expr.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,10 @@ fn example() {
498498
<div class="warning">
499499

500500
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
501+
operands: with primitive types the right-hand side will get evaluated first,
502+
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
503505
dependency.
504506

505507
</div>

0 commit comments

Comments
 (0)