pub fn is_parent_stmt(cx: &LateContext<'_>, id: HirId) -> boolExpand description
Returns true if the specified HirId is the top-level expression of a statement or the only
expression in a block.
pub fn is_parent_stmt(cx: &LateContext<'_>, id: HirId) -> boolReturns true if the specified HirId is the top-level expression of a statement or the only
expression in a block.