rustfmt
rustfmt copied to clipboard
fix: preserve attributes for fn params with empty idents
fixes https://github.com/rust-lang/rustfmt/issues/6561 fixes https://github.com/rust-lang/rustfmt/issues/6607
just follow the suggestion and add some tests :)
Thanks for working on this. Can you also add a test case for https://github.com/rust-lang/rustfmt/issues/6607. I believe this also fixes that issue
@ytmimi I think this pr can be merged now
This looks good to me.