diff options
| author | chansuke <moonset20@gmail.com> | 2021-09-04 21:07:25 +0900 |
|---|---|---|
| committer | chansuke <moonset20@gmail.com> | 2021-09-04 21:07:25 +0900 |
| commit | b2f01ef6f600b249416cf55426716091582a3a76 (patch) | |
| tree | e1cd79183c3ea983ca80db1bb6524033c97d27bf | |
| parent | a8c2c7b712c273f13258de8b87b233918d8726b9 (diff) | |
| download | rust-b2f01ef6f600b249416cf55426716091582a3a76.tar.gz rust-b2f01ef6f600b249416cf55426716091582a3a76.zip | |
Fix documentation of eval_order_dependence
| -rw-r--r-- | clippy_lints/src/eval_order_dependence.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/eval_order_dependence.rs b/clippy_lints/src/eval_order_dependence.rs index f72a1e446d5..8714ce90164 100644 --- a/clippy_lints/src/eval_order_dependence.rs +++ b/clippy_lints/src/eval_order_dependence.rs @@ -15,8 +15,8 @@ declare_clippy_lint! { /// order of sub-expressions. /// /// ### Why is this bad? - /// It is often confusing to read. In addition, the - /// sub-expression evaluation order for Rust is not well documented. + /// It is often confusing to read. As described [here](https://doc.rust-lang.org/reference/expressions.html?highlight=subexpression#evaluation-order-of-operands), + /// the operands of these expressions are evaluated before applying the effects of the expression. /// /// ### Known problems /// Code which intentionally depends on the evaluation |
