Files
dioxus/packages
John CostaandJonathan Kelley e5b9c39f4e fix(autofmt): remove extra whitespace before commas in for-loop tuple patterns (#5384)
* fix(autofmt): remove extra whitespace before commas in for-loop tuple patterns

`dx fmt` was adding spaces before commas in for-loop destructuring
patterns (e.g. `for (index , name , value)`) because `TokenStream::Display`
inserts spaces between every token. Route the pattern through prettyplease
via a new `unparse_pat` helper, following the existing `unparse_expr` pattern.

Fixes #5348

* style: apply rustfmt to writer.rs

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2026-03-27 17:15:32 -07:00
..
2025-08-20 10:49:03 -07:00
2026-03-27 13:35:17 -07:00
2026-01-25 13:54:26 -08:00
2025-10-30 21:26:01 -07:00
2025-10-30 21:26:01 -07:00
2025-11-17 08:09:41 -06:00
2026-02-16 08:39:43 -06:00