rustfmt icon indicating copy to clipboard operation
rustfmt copied to clipboard

fix: preserve attributes for fn params with empty idents

Open CPunisher opened this issue 6 months ago • 3 comments

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 :)

CPunisher avatar Jun 28 '25 15:06 CPunisher

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 avatar Jul 21 '25 03:07 ytmimi

@ytmimi I think this pr can be merged now

CPunisher avatar Jul 23 '25 05:07 CPunisher

This looks good to me.

av-gal avatar Nov 17 '25 10:11 av-gal