File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -1801,14 +1801,12 @@ pub fn subroutine_def_string(
18011801 if !t. blocks_and_inlines . is_empty ( ) {
18021802 for node in & t. blocks_and_inlines {
18031803 let node_str = match node {
1804- SubroutineNode :: Block ( block) => {
1805- subroutine_block_string ( info, typedefs, block) ?
1806- }
1804+ SubroutineNode :: Block ( block) => subroutine_block_string ( info, typedefs, block) ?,
18071805 SubroutineNode :: Inline ( inline) => {
18081806 subroutine_def_string ( info, typedefs, inline, is_erased) ?
18091807 }
18101808 } ;
1811- writeln ! ( out, "" ) ?;
1809+ writeln ! ( out) ?;
18121810 out. push_str ( & indent_all_by ( 4 , node_str) ) ;
18131811 }
18141812 }
@@ -1873,7 +1871,7 @@ fn subroutine_block_string(
18731871 let node_str = match node {
18741872 SubroutineNode :: Block ( block) => subroutine_block_string ( info, typedefs, block) ?,
18751873 SubroutineNode :: Inline ( inline) => {
1876- writeln ! ( out, "" ) ?;
1874+ writeln ! ( out) ?;
18771875 subroutine_def_string ( info, typedefs, inline, false ) ?
18781876 }
18791877 } ;
You can’t perform that action at this time.
0 commit comments