mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-15 13:36:49 +00:00
Auto merge of #7634 - chansuke:update-eval-order-depends-docs, r=Manishearth
Fix documentation of eval_order_dependence Fixes #7624. changelog: fix documentation of eval_order_dependence
This commit is contained in:
commit
17294b8161
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user