pub fn expand_block_elts(b: P<Block>, fld: &mut MacroExpander) -> P<Block> {
    b.map(|Block {id, stmts, rules, span}| {
        let new_stmts = stmts.into_iter().flat_map(|x| {
            // perform pending renames and expand macros in the statement
            fld.fold_stmt(x).into_iter()
        }).collect();
        Block {
            id: fld.new_id(id),
            stmts: new_stmts,
            rules: rules,
            span: span
        }
    })
}
// expand the elements of a block.
expand the elements of a block.
expand the elements of a block .
pub fn expand_block_elts(b: P<Block>, fld: &mut MacroExpander) -> P<Block> {
    b.map(|Block {id, stmts, rules, span}| {
        let new_stmts = stmts.into_iter().flat_map(|x| {
            // perform pending renames and expand macros in the statement
            fld.fold_stmt(x).into_iter()
        }).collect();
        Block {
            id: fld.new_id(id),
            stmts: new_stmts,
            rules: rules,
            span: span
        }
    })
}
pub fn expand_block_elts ( b : P < Block > , fld : & mut MacroExpander ) -> P < Block > { b . map ( | Block { id , stmts , rules , span } | { let new_stmts = stmts . into_iter ( ) . flat_map ( | x | { // perform pending renames and expand macros in the statement fld . fold_stmt ( x ) . into_iter ( ) } ) . collect ( ) ; Block { id : fld . new_id ( id ) , stmts : new_stmts , rules : rules , span : span } } ) }
expand the elements of a block.
expand the elements of a block .
b
P<Block>
fld
&mut MacroExpander
b
P<Block>
fld
&mut MacroExpander