File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ fn foo(
1616
1717fn skip_on_statements() {
1818 #[rustfmt::skip]
19- 5+3;
19+ { 5+3; }
2020}
2121
2222#[rustfmt::skip]
@@ -33,11 +33,11 @@ mod foo {
3333#[clippy::msrv = "1.29"]
3434fn msrv_1_29() {
3535 #[cfg_attr(rustfmt, rustfmt::skip)]
36- 1+29;
36+ { 1+29; }
3737}
3838
3939#[clippy::msrv = "1.30"]
4040fn msrv_1_30() {
4141 #[rustfmt::skip]
42- 1+30;
42+ { 1+30; }
4343}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ fn foo(
1616
1717fn skip_on_statements ( ) {
1818 #[ cfg_attr( rustfmt, rustfmt:: skip) ]
19- 5 +3 ;
19+ { 5 +3 ; }
2020}
2121
2222#[ cfg_attr( rustfmt, rustfmt_skip) ]
@@ -33,11 +33,11 @@ mod foo {
3333#[ clippy:: msrv = "1.29" ]
3434fn msrv_1_29 ( ) {
3535 #[ cfg_attr( rustfmt, rustfmt:: skip) ]
36- 1 +29 ;
36+ { 1 +29 ; }
3737}
3838
3939#[ clippy:: msrv = "1.30" ]
4040fn msrv_1_30 ( ) {
4141 #[ cfg_attr( rustfmt, rustfmt:: skip) ]
42- 1 +30 ;
42+ { 1 +30 ; }
4343}
You can’t perform that action at this time.
0 commit comments