chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed5f46d
)
hidden prep: Do not make PieceUpdateOps Clone
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 30 Jan 2021 22:09:24 +0000
(22:09 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 31 Jan 2021 18:38:28 +0000
(18:38 +0000)
Tbis is not a good idea and not needed.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/updates.rs
patch
|
blob
|
history
diff --git
a/src/updates.rs
b/src/updates.rs
index c7efbc1ba8e02244110773a67935f4fb38f67443..4dee09ad2a8c51f176a15fcc666b28ba4f2604bb 100644
(file)
--- 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<PlayerId, PieceUpdateOp<(),()>>),