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>