rustfmt_nightly::expr

Function rewrite_single_line_block

Source
fn rewrite_single_line_block(
    context: &RewriteContext<'_>,
    prefix: &str,
    block: &Block,
    attrs: Option<&[Attribute]>,
    label: Option<Label>,
    shape: Shape,
) -> Result<String, RewriteError>