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:
342eff8
)
errors: No longer impl Error for ESVU
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 13 Jul 2021 15:02:28 +0000
(16:02 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 13 Jul 2021 15:02:38 +0000
(16:02 +0100)
Not sure why this was ever needed but it isn't any more.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/error.rs
patch
|
blob
|
history
diff --git
a/src/error.rs
b/src/error.rs
index 0ee5933210a45c5bcd224ca0c3469c88d2f8a5d0..dc0de331c924b90c9bbeeeaf94e73e6c8ea859ac 100644
(file)
--- a/
src/error.rs
+++ b/
src/error.rs
@@
-141,7
+141,7
@@
impl From<InternalError> for ApiPieceOpError {
}
}
-#[derive(
Error,
Debug,Serialize,Clone)]
+#[derive(Debug,Serialize,Clone)]
pub enum ErrorSignaledViaUpdate<POEPU: Debug> {
InternalError,
PlayerRemoved, // appears only in streams for applicable player
@@
-152,7
+152,7
@@
pub enum ErrorSignaledViaUpdate<POEPU: Debug> {
state: POEPU,
},
}
-display_as_debug!{ErrorSignaledViaUpdate<T>, <T:Debug>}
+
//
display_as_debug!{ErrorSignaledViaUpdate<T>, <T:Debug>}
#[derive(Error,Debug,Serialize,Copy,Clone,Eq,PartialEq)]
pub enum PieceOpErrorPartiallyProcessed {