Module rustfmt_nightly::closures
source Β· FunctionsΒ§
- Returns
trueif 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 π