Function rustfmt_nightly::overflow::rewrite_with_square_brackets  [−][src]
pub(crate) fn rewrite_with_square_brackets<'a, T: 'a + IntoOverflowableItem<'a>>(
    context: &'a RewriteContext<'_>, 
    name: &'a str, 
    items: impl Iterator<Item = &'a T>, 
    shape: Shape, 
    span: Span, 
    force_separator_tactic: Option<SeparatorTactic>, 
    delim_token: Option<DelimToken>
) -> Option<String>