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
ytmimi
changed the title
Wrong Shape used for inner attributes in match expression
Wrong shape used when rewriting inner attributes in match expression
Apr 12, 2024
The indentation of the second inner attribute isn't correct.
version:
rustfmt 1.7.0-nightly (72893919 2024-04-07)
-- built from rust-lang/rustfmt source.commit: 7289391
configs used:
defaults
Input
output
The fix will likely involve pass an indented shape when calling
inner_attrs.rewrite()
.rustfmt/src/matches.rs
Line 107 in 7289391
The text was updated successfully, but these errors were encountered: