From 791e2fdb4751426a9897fb613ebb2db1887d708a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 9 Jul 2021 12:13:36 +0100 Subject: [PATCH] jstest: lower: Remove now-redundant id field Signed-off-by: Ian Jackson --- jstest/jst-lower.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jstest/jst-lower.rs b/jstest/jst-lower.rs index 46fc8e9d..b4d118f4 100644 --- a/jstest/jst-lower.rs +++ b/jstest/jst-lower.rs @@ -29,7 +29,6 @@ macro_rules! sp { #[derive(Eq,PartialEq,Ord,PartialOrd)] #[derive(Serialize)] pub struct StartPiece { - id: VisiblePieceId, pinned: bool, moveable: PieceMoveable, z: ZCoord, @@ -162,7 +161,7 @@ impl TestsAccumulator { |StartPieceSpec { id, pinned, moveable }| { let id = id.try_into().unwrap(); let z = zm.increment().unwrap(); - (id, StartPiece { id, pinned, moveable, z }) + (id, StartPiece { pinned, moveable, z }) } ).collect(); -- 2.30.2