pub fn find(file_contents: &str) -> Vec<BreakPoint> {
    file_contents
        .lines()
        .enumerate()
        .filter_map(|(line_index, line)| {
            if line.contains("#break") {
                Some(BreakPoint { line_index })
            } else {
                None
            }
        })
        .collect()
}
/// Return 0-based line numbers of all lines containing the string "#break"
Return 0-based line numbers of all lines containing the string "#break"
Return 0 - based line numbers of all lines containing the string " #break "
pub fn find(file_contents: &str) -> Vec<BreakPoint> {
    file_contents
        .lines()
        .enumerate()
        .filter_map(|(line_index, line)| {
            if line.contains("#break") {
                Some(BreakPoint { line_index })
            } else {
                None
            }
        })
        .collect()
}
pub fn find ( file_contents : & str ) -> Vec < BreakPoint > { file_contents . lines ( ) . enumerate ( ) . filter_map ( | ( line_index , line ) | { if line . contains ( " " ) { Some ( BreakPoint { line_index } ) } else { None } } ) . collect ( ) }
Return 0-based line numbers of all lines containing the string "#break"
Return 0 - based line numbers of all lines containing the string " #break "
file_contents
&str
file_contents
&str