rustfmt_nightly::expr

Function rewrite_block_with_visitor

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