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
fnmain(){let x = ((0,1),2);println!("{}", x.0.0);}
Gets formatted to:
fnmain(){let x = ((0,1),2);println!("{}", x.0.0);}
This was intentional since apparently x.0.0 used to get parsed as x.(0.0) (see #1063). But the version without the space compiles now, so maybe rustfmt shouldn't add the space anymore?
The text was updated successfully, but these errors were encountered:
I'll also note that because of our stance on breaking formatting changes we haven't fixed this on version=One, and you'll need to use version=Two to get the formatting that you want, but you'll need a nightly version of rustfmt.
This code:
Gets formatted to:
This was intentional since apparently
x.0.0
used to get parsed asx.(0.0)
(see #1063). But the version without the space compiles now, so maybe rustfmt shouldn't add the space anymore?The text was updated successfully, but these errors were encountered: