[][src]Function dprint_core::formatting::parser_helpers::surround_with_newlines_indented_if_multi_line

pub fn surround_with_newlines_indented_if_multi_line(
    inner_items: PrintItems,
    indent_width: u8
) -> PrintItems

Surrounds the items with newlines and indentation if its on multiple lines. Note: This currently inserts a possible newline at the start, but that might change or be made conditional in the future.