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