pub fn get_ref_operators<'hir>(
cx: &LateContext<'_>,
expr: &'hir Expr<'hir>,
) -> Vec<&'hir Expr<'hir>>Expand description
Returns a Vec of Exprs containing AddrOf operators (&) or deref operators (*) of a
given expression.
pub fn get_ref_operators<'hir>(
cx: &LateContext<'_>,
expr: &'hir Expr<'hir>,
) -> Vec<&'hir Expr<'hir>>Returns a Vec of Exprs containing AddrOf operators (&) or deref operators (*) of a
given expression.