Open
Description
The following snippet is formatted using rustfmt.
match Some(1) {
Some(number) => (
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
number,
)
.to_owned(),
None => ("test", 0).to_owned(),
};
In my opinion, this is not very readable since it breaks the strict indentation of anything inside a match arm. Shouldn't the closing bracket of the tuple in the Some(_) arm be indented further (and therefore, potentially, the two fields of the tuple as well)?