equal
deleted
inserted
replaced
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") => { |