rustfmt_nightly::overflow

Function last_item_shape

Source
fn last_item_shape(
    lists: &[OverflowableItem<'_>],
    items: &[ListItem],
    shape: Shape,
    args_max_width: usize,
) -> Option<Shape>
Expand description

Returns a shape for the last argument which is going to be overflowed.