rustfmt_nightly::matches

Function rewrite_match

Source
pub(crate) fn rewrite_match(
    context: &RewriteContext<'_>,
    cond: &Expr,
    arms: &[Arm],
    shape: Shape,
    span: Span,
    attrs: &[Attribute],
    match_kind: MatchKind,
) -> Result<String, RewriteError>