From: Ian Jackson Date: Sat, 30 Jan 2021 22:09:24 +0000 (+0000) Subject: hidden prep: Do not make PieceUpdateOps Clone X-Git-Tag: otter-0.4.0~598 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=673188be777b461f9c87e905c6eb5ea96c394621;p=otter.git hidden prep: Do not make PieceUpdateOps Clone Tbis is not a good idea and not needed. Signed-off-by: Ian Jackson --- 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>),