From 516f027acab01c4fab462807a174adcd087c6187 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 14 Oct 2019 22:20:31 +0200 Subject: [PATCH] temporarily add panicing Serialize impl for EventResult --- src/lib.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 0d209cf6..bca2816c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -338,13 +338,14 @@ where // For now, we don't support serialization of EventResult. // This is going to be added in a future version. -/*impl Serialize for EventResult { - fn serialize(&self, serializer: S) -> Result +impl Serialize for EventResult { + fn serialize(&self, _serializer: S) -> Result where S: Serializer, { + unimplemented!("not supported yet") } -}*/ +} /// An error when attempting to create a value from a string via the `FromStr` trait. ///