@@ -1464,7 +1464,10 @@ pub fn ast_dump(c: &Cursor, depth: isize) -> CXChildVisitResult {
1464
1464
type_to_str( ty. kind( ) ) ) ) ;
1465
1465
}
1466
1466
if let Some ( ty) = c. ret_type ( ) {
1467
- print_indent ( depth, format ! ( " {}ret-type = {}" , prefix, type_to_str( ty. kind( ) ) ) ) ;
1467
+ print_indent ( depth,
1468
+ format ! ( " {}ret-type = {}" ,
1469
+ prefix,
1470
+ type_to_str( ty. kind( ) ) ) ) ;
1468
1471
}
1469
1472
1470
1473
if let Some ( refd) = c. referenced ( ) {
@@ -1473,7 +1476,9 @@ pub fn ast_dump(c: &Cursor, depth: isize) -> CXChildVisitResult {
1473
1476
print_cursor ( depth,
1474
1477
String :: from ( prefix) + "referenced." ,
1475
1478
& refd) ;
1476
- print_cursor ( depth, String :: from ( prefix) + "referenced." , & refd) ;
1479
+ print_cursor ( depth,
1480
+ String :: from ( prefix) + "referenced." ,
1481
+ & refd) ;
1477
1482
}
1478
1483
}
1479
1484
@@ -1483,7 +1488,9 @@ pub fn ast_dump(c: &Cursor, depth: isize) -> CXChildVisitResult {
1483
1488
print_cursor ( depth,
1484
1489
String :: from ( prefix) + "canonical." ,
1485
1490
& canonical) ;
1486
- print_cursor ( depth, String :: from ( prefix) + "canonical." , & canonical) ;
1491
+ print_cursor ( depth,
1492
+ String :: from ( prefix) + "canonical." ,
1493
+ & canonical) ;
1487
1494
}
1488
1495
1489
1496
if let Some ( specialized) = c. specialized ( ) {
@@ -1492,7 +1499,9 @@ pub fn ast_dump(c: &Cursor, depth: isize) -> CXChildVisitResult {
1492
1499
print_cursor ( depth,
1493
1500
String :: from ( prefix) + "specialized." ,
1494
1501
& specialized) ;
1495
- print_cursor ( depth, String :: from ( prefix) + "specialized." , & specialized) ;
1502
+ print_cursor ( depth,
1503
+ String :: from ( prefix) + "specialized." ,
1504
+ & specialized) ;
1496
1505
}
1497
1506
}
1498
1507
}
0 commit comments