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
Thanks for reaching out. rustfmt doesn't handle let-else formatting because the rules for how it should be formatted are still being discussed in rust-lang/style-team#165
You might also want to follow #4914 to keep track of the implementation on the rustfmt side once the rules have been codified in the fmt-rfc linked above.
I think this is a bug. Consider this program playground
I think the extra spaces on line 3, between
x
andelse
, should be removed by rustfmt. But on current stable they aren't.The text was updated successfully, but these errors were encountered: