rustfmt_nightly::expr

Function rewrite_let_else_block

source
pub(crate) fn rewrite_let_else_block(
    block: &Block,
    allow_single_line: bool,
    context: &RewriteContext<'_>,
    shape: Shape,
) -> Result<String, RewriteError>
Expand description

Rewrite the divergent block of a let-else statement.