Function clippy_utils::is_parent_stmt
source ยท 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.