Function syntex_syntax::ast_util::compute_id_range_for_fn_body
[−]
[src]
pub fn compute_id_range_for_fn_body(fk: FnKind, decl: &FnDecl, body: &Block, sp: Span, id: NodeId) -> IdRange
Computes the id range for a single fn body, ignoring nested items.