events: Update doctest

This commit is contained in:
Jonas Platte 2022-05-24 18:18:43 +02:00
parent b34bfaf1f6
commit 22fbb9ee24
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C

View File

@ -91,7 +91,7 @@
//! //!
//! // The downside of this event is we cannot use it with event enums, //! // The downside of this event is we cannot use it with event enums,
//! // but could be deserialized from a `Raw<_>` that has failed to deserialize. //! // but could be deserialized from a `Raw<_>` that has failed to deserialize.
//! matches::assert_matches!( //! assert_matches::assert_matches!(
//! serde_json::from_value::<OriginalSyncMessageLikeEvent<ReactionEventContent>>(json), //! serde_json::from_value::<OriginalSyncMessageLikeEvent<ReactionEventContent>>(json),
//! Ok(OriginalSyncMessageLikeEvent { //! Ok(OriginalSyncMessageLikeEvent {
//! content: ReactionEventContent { //! content: ReactionEventContent {