Skip to content

Commit

Permalink
Leave one issue file with alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
janos-r committed Feb 6, 2025
1 parent 387ae6c commit 1e41b3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// rustfmt-struct_field_align_threshold: 27
// rustfmt-struct_field_align_threshold: 30

struct X {
really_really_long_field_a: i32,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// rustfmt-struct_field_align_threshold: 27
// rustfmt-struct_field_align_threshold: 30

struct X {
really_really_long_field_a: i32,
Expand All @@ -20,10 +20,10 @@ fn test(x: X) {
matches!(
x,
X {
really_really_long_field_a: 10,
really_really_really_long_field_b: 10,
really_really_really_really_long_field_c: 10,
really_really_really_really_really_long_field_d: 10,
really_really_long_field_a: 10,
really_really_really_long_field_b: 10,
really_really_really_really_long_field_c: 10,
really_really_really_really_really_long_field_d: 10,
really_really_really_really_really_really_long_field_e: 10,
..
}
Expand Down

0 comments on commit 1e41b3b

Please sign in to comment.