rustfmt_nightly::matches

Function rewrite_match_body

Source
fn rewrite_match_body(
    context: &RewriteContext<'_>,
    body: &P<Expr>,
    pats_str: &str,
    shape: Shape,
    has_guard: bool,
    arrow_span: Span,
    is_last: bool,
) -> Result<String, RewriteError>