Function clippy_utils::is_span_if
source · pub fn is_span_if(cx: &impl LintContext, span: Span) -> bool
Expand description
Checks if the span actually refers to an if expression
pub fn is_span_if(cx: &impl LintContext, span: Span) -> bool
Checks if the span actually refers to an if expression