Function clippy_utils::is_default_equivalent_call

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