Skip to main content

substring_boundary_collisions

Function substring_boundary_collisions 

Source
pub fn substring_boundary_collisions(
    file: &str,
    needle: &str,
    offsets: &[usize],
) -> Vec<usize>
Expand description

Boundary-collision check: flag lines where needle sits adjacent to identifier characters — caller may be stomping on a longer identifier.