clippy_utils::eager_or_lazy

Function fn_eagerness

source
fn fn_eagerness(
    cx: &LateContext<'_>,
    fn_id: DefId,
    name: Symbol,
    have_one_arg: bool,
) -> EagernessSuggestion
Expand description

Determine the eagerness of the given function call.