Skip to main content

modifier_body_sides

Function modifier_body_sides 

Source
fn modifier_body_sides<'hir>(
    stmts: &'hir [Stmt<'hir>],
) -> Option<(&'hir [Stmt<'hir>], &'hir [Stmt<'hir>])>
Expand description

The statements before and after a modifier’s single top-level placeholder. More complicated expansion shapes are left uncredited rather than guessing which paths execute the body.