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