Skip to content

Commit 1e41b3b

Browse files
committed
Leave one issue file with alignment
1 parent 387ae6c commit 1e41b3b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/source/issue-4926/deeply_nested_struct_with_long_field_names.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// rustfmt-struct_field_align_threshold: 27
1+
// rustfmt-struct_field_align_threshold: 30
22

33
struct X {
44
really_really_long_field_a: i32,

tests/target/issue-4926/deeply_nested_struct_with_long_field_names.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// rustfmt-struct_field_align_threshold: 27
1+
// rustfmt-struct_field_align_threshold: 30
22

33
struct X {
44
really_really_long_field_a: i32,
@@ -20,10 +20,10 @@ fn test(x: X) {
2020
matches!(
2121
x,
2222
X {
23-
really_really_long_field_a: 10,
24-
really_really_really_long_field_b: 10,
25-
really_really_really_really_long_field_c: 10,
26-
really_really_really_really_really_long_field_d: 10,
23+
really_really_long_field_a: 10,
24+
really_really_really_long_field_b: 10,
25+
really_really_really_really_long_field_c: 10,
26+
really_really_really_really_really_long_field_d: 10,
2727
really_really_really_really_really_really_long_field_e: 10,
2828
..
2929
}

0 commit comments

Comments
 (0)