Function clippy_utils::is_parent_stmt

source ·
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.