fn rewrite_reorderable_or_regroupable_items(
    context: &RewriteContext<'_>,
    reorderable_items: &[&Item],
    shape: Shape,
    span: Span,
) -> Option<String>
Expand description

Rewrite a list of items with reordering and/or regrouping. Every item in items must have the same ast::ItemKind. Whether reordering, regrouping, or both are done is determined from the context.