Module rustfmt_nightly::closures
source · Functions§
- Returns
true
if the given vector of arguments has more than oneast::ExprKind::Closure
. - Does this expression require a semicolon to be treated as a statement? The negation of this: βcan this expression be used as a statement without a semicolonβ β is used as an early-bail-out in the parser so that, for instance, if true {β¦} else {β¦} |x| 5 isnβt parsed as (if true {β¦} else {β¦} | x) | 5
- get_
inner_ πexpr - needs_
block π - rewrite_
closure π - rewrite_
closure_ πexpr - rewrite_
last_ πclosure - veto_
block π