From 673188be777b461f9c87e905c6eb5ea96c394621 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 30 Jan 2021 22:09:24 +0000 Subject: [PATCH] hidden prep: Do not make PieceUpdateOps Clone Tbis is not a good idea and not needed. Signed-off-by: Ian Jackson --- src/updates.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/updates.rs b/src/updates.rs index c7efbc1b..4dee09ad 100644 --- a/src/updates.rs +++ b/src/updates.rs @@ -119,7 +119,7 @@ pub struct PieceUpdate { pub ops: PieceUpdateOps, } -#[derive(Debug,Clone)] +#[derive(Debug)] pub enum PieceUpdateOps { Simple(PieceUpdateOp<(),()>), PerPlayer(DenseSlotMap>), -- 2.30.2