From c928c9bafc69d267e6cd8a7b3a86c3c22bd09df5 Mon Sep 17 00:00:00 2001 From: Jimmy Cuadra Date: Sun, 23 Apr 2017 02:43:29 -0700 Subject: [PATCH] Remove de/serialize bounds from StrippedStateContent. See https://github.com/serde-rs/serde/issues/890. --- src/stripped.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/stripped.rs b/src/stripped.rs index 066f3df8..04ed37e4 100644 --- a/src/stripped.rs +++ b/src/stripped.rs @@ -65,9 +65,8 @@ pub enum StrippedState { /// A "stripped-down" version of a core state event. #[derive(Clone, Debug, Deserialize, Serialize)] -pub struct StrippedStateContent where C: for<'a> Deserialize<'a> + Serialize { +pub struct StrippedStateContent { /// Data specific to the event type. - #[serde(bound(deserialize = ""))] pub content: C, /// The type of the event. #[serde(rename="type")]