clippy_utils

Function is_receiver_of_method_call

Source
pub fn is_receiver_of_method_call(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool
Expand description

Returns true if the specified expression is in a receiver position.