Skip to main content

nearest_lines

Function nearest_lines 

Source
fn nearest_lines(content: &str, anchor: &str) -> String
Expand description

Up to 5 file lines (with 1-based line numbers) that contain anchor, for error feedback when old_string doesn’t match.