From f7b917c35dd63d26265402968b0079f8356309fe Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 14 Mar 2021 16:32:21 +0000 Subject: [PATCH] at: Remove some unnecessary PuSynch Signed-off-by: Ian Jackson --- apitest/at-otter.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apitest/at-otter.rs b/apitest/at-otter.rs index 5300cec0..bc6e3113 100644 --- a/apitest/at-otter.rs +++ b/apitest/at-otter.rs @@ -557,7 +557,7 @@ impl Ctx { for (&pawn, &xoffset) in izip!(&a_pawns, [10,20].iter()) { let pos = (a_pieces[hand].pos + PosC([xoffset, 0]))?; - alice.api_piece(GH::With, PuSynch(&mut a_pieces, pawn), pos)?; + alice.api_piece(GH::With, (&mut a_pieces, pawn), pos)?; } alice.synchu(&mut a_pieces)?; @@ -575,7 +575,7 @@ impl Ctx { for (xi, &p) in a_pawns.iter().enumerate().take(1) { let xix: Coord = xi.try_into().unwrap(); let pos = PosC([ (xix + 1) * 15, 20 ]); - alice.api_piece(GH::With, PuSynch(&mut a_pieces, p), pos)?; + alice.api_piece(GH::With, (&mut a_pieces, p), pos)?; } alice.synchu(&mut a_pieces)?; @@ -585,7 +585,7 @@ impl Ctx { let out_again = (a_pieces[hand].pos + PosC([5, 0]))?; for (xi, &p) in a_pawns.iter().enumerate().take(1) { - alice.api_piece(GH::With, PuSynch(&mut a_pieces, p), out_again)?; + alice.api_piece(GH::With, (&mut a_pieces, p), out_again)?; } alice.synchu(&mut a_pieces)?; -- 2.30.2