pub fn is_expr_default<'tcx>(
cx: &LateContext<'tcx>,
expr: &'tcx Expr<'tcx>,
) -> bool
Expand description
Checks if the given expression is a call to Default::default()
.
pub fn is_expr_default<'tcx>(
cx: &LateContext<'tcx>,
expr: &'tcx Expr<'tcx>,
) -> bool
Checks if the given expression is a call to Default::default()
.