clippy_utils

Function 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.