Skip to content

Commit 22b076c

Browse files
committed
Revert some part of "fix: Fix rustfmt formatting after previous commit fix"
This reverts some part of commit 757e73d. The `enum.rs` should still be formatted with the default style edition. So no change should happen for those files.
1 parent 103d13e commit 22b076c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: tests/target/enum.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ pub enum EnumWithAttributes {
6868
SkippedItem(String,String,), // Post-comment
6969
#[another_attr]
7070
#[attr2]
71-
ItemStruct { x: usize, y: usize }, /* Comment AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA */
71+
ItemStruct {
72+
x: usize,
73+
y: usize,
74+
}, /* Comment AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA */
7275
// And another
7376
ForcedPreflight, /* AAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
7477
* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA */

0 commit comments

Comments
 (0)