Open
Description
Example for a struct:
let Self {
x,
y,
.. } = self;
match x {
Variant::A {
a,
b,
.. } => { /* snip */ }
_ => todo!(),
}
Currently a ..
is placed either on a separate line, or, in case of match and/or a short list of required fields, right after the trailing comma, all on the same line. I also think the above style may serve the best for the same purpose that a trailing commas are intended for. Please consider, thanks.