11impl TestTrait {
22 fn foo_one_pre ( /* Important comment1 */ self ) { }
33
4- fn foo_one_post ( self /* Important comment1 */ ) { }
4+ fn foo_one_post (
5+ self ,
6+ /* Important comment1 */
7+ ) {
8+ }
59
610 fn foo_pre ( /* Important comment1 */ self , /* Important comment2 */ a : i32 ) { }
711
8- fn foo_post ( self /* Important comment1 */ , a : i32 /* Important comment2 */ ) { }
12+ fn foo_post (
13+ self ,
14+ /* Important comment1 */
15+ a : i32 ,
16+ /* Important comment2 */
17+ ) {
18+ }
919
1020 fn bar_pre ( /* Important comment1 */ & mut self , /* Important comment2 */ a : i32 ) { }
1121
12- fn bar_post ( & mut self /* Important comment1 */ , a : i32 /* Important comment2 */ ) { }
22+ fn bar_post (
23+ & mut self ,
24+ /* Important comment1 */
25+ a : i32 ,
26+ /* Important comment2 */
27+ ) {
28+ }
1329
1430 fn baz_pre (
1531 /* Important comment1 */
@@ -20,8 +36,10 @@ impl TestTrait {
2036 }
2137
2238 fn baz_post (
23- self : X < ' a , ' b > , /* Important comment1 */
24- a : i32 , /* Important comment2 */
39+ self : X < ' a , ' b > ,
40+ /* Important comment1 */
41+ a : i32 ,
42+ /* Important comment2 */
2543 ) {
2644 }
2745
@@ -36,9 +54,12 @@ impl TestTrait {
3654 }
3755
3856 fn baz_tree_post (
39- self : X < ' a , ' b > , /* Important comment1 */
40- a : i32 , /* Important comment2 */
41- b : i32 , /* Important comment3 */
57+ self : X < ' a , ' b > ,
58+ /* Important comment1 */
59+ a : i32 ,
60+ /* Important comment2 */
61+ b : i32 ,
62+ /* Important comment3 */
4263 ) {
4364 }
4465
0 commit comments