pub fn eq_expr_value(
cx: &LateContext<'_>,
left: &Expr<'_>,
right: &Expr<'_>,
) -> bool
Expand description
Checks if two expressions evaluate to the same value, and don’t contain any side effects.
pub fn eq_expr_value(
cx: &LateContext<'_>,
left: &Expr<'_>,
right: &Expr<'_>,
) -> bool
Checks if two expressions evaluate to the same value, and don’t contain any side effects.