File tree 4 files changed +47
-0
lines changed
source/configs/match_arm_wrapping
target/configs/match_arm_wrapping
4 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ // rustfmt-match_arm_wrapping: Default
2
+ // Wrap match-arms
3
+
4
+ fn main ( ) {
5
+ match lorem {
6
+ true => foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo ( x) ,
7
+ false => {
8
+ println ! ( "{}" , sit)
9
+ }
10
+ }
11
+ }
Original file line number Diff line number Diff line change
1
+ // rustfmt-match_arm_wrapping: NoBlockFirstLine
2
+ // Wrap match-arms
3
+
4
+ fn main ( ) {
5
+ match lorem {
6
+ true => foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo ( x) ,
7
+ false => {
8
+ println ! ( "{}" , sit)
9
+ }
10
+ }
11
+ }
Original file line number Diff line number Diff line change
1
+ // rustfmt-match_arm_wrapping: Default
2
+ // Wrap match-arms
3
+
4
+ fn main ( ) {
5
+ match lorem {
6
+ true => {
7
+ foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo ( x)
8
+ }
9
+ false => {
10
+ println ! ( "{}" , sit)
11
+ }
12
+ }
13
+ }
Original file line number Diff line number Diff line change
1
+ // rustfmt-match_arm_wrapping: NoBlockFirstLine
2
+ // Wrap match-arms
3
+
4
+ fn main ( ) {
5
+ match lorem {
6
+ true =>
7
+ foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo ( x) ,
8
+ false => {
9
+ println ! ( "{}" , sit)
10
+ }
11
+ }
12
+ }
You can’t perform that action at this time.
0 commit comments