Skip to content

Add options to not wrap long collections #810

@andradei

Description

@andradei

An options, perhaps ignore_arrays, that would keep the following format:

let mut board: [[char; 3]; 3] = [
    ['O', 'O', 'O'],
    ['O', 'O', 'O'],
    ['O', 'O', 'O']
];

Instead of inlining everything like it does now:

let mut board: [[char; 3]; 3] = [['O', 'O', 'O'], ['O', 'O', 'O'], ['O', 'O', 'O']];

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions