pub fn is_default_equivalent_call(
cx: &LateContext<'_>,
repl_func: &Expr<'_>,
) -> bool
Expand description
Returns true if the expr is equal to Default::default
when evaluated.
pub fn is_default_equivalent_call(
cx: &LateContext<'_>,
repl_func: &Expr<'_>,
) -> bool
Returns true if the expr is equal to Default::default
when evaluated.