Skip to content

Commit b2f01ef

Browse files
committed
Fix documentation of eval_order_dependence
1 parent a8c2c7b commit b2f01ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/eval_order_dependence.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ declare_clippy_lint! {
1515
/// order of sub-expressions.
1616
///
1717
/// ### Why is this bad?
18-
/// It is often confusing to read. In addition, the
19-
/// sub-expression evaluation order for Rust is not well documented.
18+
/// It is often confusing to read. As described [here](https://doc.rust-lang.org/reference/expressions.html?highlight=subexpression#evaluation-order-of-operands),
19+
/// the operands of these expressions are evaluated before applying the effects of the expression.
2020
///
2121
/// ### Known problems
2222
/// Code which intentionally depends on the evaluation

0 commit comments

Comments
 (0)