fn truncate_output(probe_run_output: String) -> String {
    probe_run_output
        .lines()
        .filter(|line| {
            !line.starts_with("    Finished")
            && !line.starts_with("     Running `")
            && !line.starts_with("    Blocking waiting for file lock ")
            && !line.starts_with("   Compiling probe-run v")
            // TODO don't drop the `└─ probe_run @ ...` locations after
            // https://github.com/knurling-rs/probe-run/issues/217 is resolved
            && !line.starts_with("└─ ")
        })
        .map(|line| format!("{}\n", line))
        .collect()
}
// remove the lines printed during flashing, as they contain timing info that's not always the same
remove the lines printed during flashing, as they contain timing info that's not always the same
remove the lines printed during flashing as they contain timing info that ' s not always the same
fn truncate_output(probe_run_output: String) -> String {
    probe_run_output
        .lines()
        .filter(|line| {
            !line.starts_with("    Finished")
            && !line.starts_with("     Running `")
            && !line.starts_with("    Blocking waiting for file lock ")
            && !line.starts_with("   Compiling probe-run v")
            // TODO don't drop the `└─ probe_run @ ...` locations after
            // https://github.com/knurling-rs/probe-run/issues/217 is resolved
            && !line.starts_with("└─ ")
        })
        .map(|line| format!("{}\n", line))
        .collect()
}
fn truncate_output ( probe_run_output : String ) -> String { probe_run_output . lines ( ) . filter ( | line | { ! line . starts_with ( " " ) && ! line . starts_with ( " " ) && ! line . starts_with ( " " ) && ! line . starts_with ( " " ) // TODO don't drop the `└─ probe_run @ ...` locations after // https://github.com/knurling-rs/probe-run/issues/217 is resolved && ! line . starts_with ( " } ) . map ( | line | format ! ( " \n " line ) ) . collect ( ) }
remove the lines printed during flashing, as they contain timing info that's not always the same
remove the lines printed during flashing as they contain timing info that ' s not always the same
probe_run_output
String
probe_run_output
String