pub fn is_parent_stmt(cx: &LateContext<'_>, id: HirId) -> bool
Expand 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) -> bool
Returns true if the specified HirId
is the top-level expression of a statement or the only
expression in a block.