rust/hedgewars-checker/src/main.rs
changeset 15916 0cd6996cd4c8
parent 15913 fe519de9c270
child 16008 1635ce22b214
equal deleted inserted replaced
15913:fe519de9c270 15916:0cd6996cd4c8
    44     let mut engine_lines = output
    44     let mut engine_lines = output
    45         .stderr
    45         .stderr
    46         .split(|b| *b == '\n' as u8)
    46         .split(|b| *b == '\n' as u8)
    47         .skip_while(|l| *l != b"WINNERS" && *l != b"DRAW");
    47         .skip_while(|l| *l != b"WINNERS" && *l != b"DRAW");
    48 
    48 
    49     debug!("Engine lines: {:?}", &engine_lines);
    49     // debug!("Engine lines: {:?}", &engine_lines);
    50 
    50 
    51     loop {
    51     loop {
    52         match engine_lines.next() {
    52         match engine_lines.next() {
    53             Some(b"DRAW") => result.push("DRAW".to_owned()),
    53             Some(b"DRAW") => result.push("DRAW".to_owned()),
    54             Some(b"WINNERS") => {
    54             Some(b"WINNERS") => {