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
This is a duplicate of #4031 and has already been fixed. It should be included in the next release of rustfmt, but if you need the fix more urgently you could consider building rustfmt from source in the interim.
I have a struct like this:
I want to do a match on a value of type
Result<Foo, _>
, which I think should probably be formatted like this:However, it gets weirdly formatted to this:
...which I think is kind of odd behavior.
I know that '@' and this kind of name-to-pattern binding is pretty niche and uncommon, but I think it should probably still format in a nice way.
The text was updated successfully, but these errors were encountered: