Skip to main content

intersects

Function intersects 

Source
fn intersects(a: Span, b: Span) -> bool
Expand description

Closed intersection over half-open spans: a cursor request (an empty range) sitting on either boundary of the diagnostic still matches.