You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The extra space used to be necessary in older versions of Rust where tuple.0.0was a syntax error, and (to my knowledge) rustfmt generally won't change formatting later on, at least with the default version = "One".
If you set version = "Two" in your rustfmt.toml file, it should format this without the extra space as you expect.
I tried this code:
And i used fmt(both
rust analyzer
andcargo fmt
)I expected to see this happen:
Instead, this happened:
In
a.0 .0
,There's an extra space here.Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: