From: Ian Jackson Date: Fri, 9 Jul 2021 11:13:36 +0000 (+0100) Subject: jstest: lower: Remove now-redundant id field X-Git-Tag: otter-0.7.2~216 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=791e2fdb4751426a9897fb613ebb2db1887d708a;p=otter.git jstest: lower: Remove now-redundant id field Signed-off-by: Ian Jackson --- 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();