rustfmt_nightly::vertical

Function group_aligned_items

source
fn group_aligned_items<T: AlignedItem>(
    context: &RewriteContext<'_>,
    fields: &[T],
) -> (&'static str, usize)
Expand description

Returns the index in fields up to which a field belongs to the current group. The returned string is the group separator to use when rewriting the fields. Groups are defined by blank lines.