File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1389,7 +1389,9 @@ impl Children<Expression> for FunctionDefinition {
1389
1389
FunctionDefinition :: Expression ( e) => Box :: new ( once ( e) ) ,
1390
1390
FunctionDefinition :: TypeDeclaration ( _enum_declaration) => todo ! ( ) ,
1391
1391
FunctionDefinition :: TraitDeclaration ( trait_declaration) => trait_declaration. children ( ) ,
1392
- FunctionDefinition :: PublicDeclaration ( _, _, _) => todo ! ( ) ,
1392
+ FunctionDefinition :: PublicDeclaration ( _, array_index, row) => {
1393
+ Box :: new ( array_index. iter ( ) . chain ( once ( row) ) )
1394
+ }
1393
1395
}
1394
1396
}
1395
1397
@@ -1401,7 +1403,9 @@ impl Children<Expression> for FunctionDefinition {
1401
1403
FunctionDefinition :: TraitDeclaration ( trait_declaration) => {
1402
1404
trait_declaration. children_mut ( )
1403
1405
}
1404
- FunctionDefinition :: PublicDeclaration ( _, _, _) => todo ! ( ) ,
1406
+ FunctionDefinition :: PublicDeclaration ( _, array_index, row) => {
1407
+ Box :: new ( array_index. iter_mut ( ) . chain ( once ( row) ) )
1408
+ }
1405
1409
}
1406
1410
}
1407
1411
}
You can’t perform that action at this time.
0 commit comments