☰
In rustfmt_nightly::closures
In rustfmt_nightly::closures
Functions
args_have_many_closure
expr_requires_semi_to_be_stmt
get_inner_expr
is_block_closure_forced
is_block_closure_forced_inner
needs_block
rewrite_closure
rewrite_closure_block
rewrite_closure_expr
rewrite_closure_fn_decl
rewrite_closure_with_block
rewrite_last_closure
try_rewrite_without_block
veto_block
?
Function
rustfmt_nightly
::
closures
::
needs_block
source
·
[
−
]
fn needs_block(block: &
Block
, prefix: &
str
, context: &
RewriteContext
<'_>) ->
bool