Skip to main content

find_line_of_str

Function find_line_of_str 

Source
pub fn find_line_of_str(content: &str, target: &str) -> usize
Expand description

Find the line number of a string literal in source content (skipping comments)