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")]