events: Update doctest
This commit is contained in:
parent
b34bfaf1f6
commit
22fbb9ee24
@ -91,7 +91,7 @@
|
||||
//!
|
||||
//! // 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.
|
||||
//! matches::assert_matches!(
|
||||
//! assert_matches::assert_matches!(
|
||||
//! serde_json::from_value::<OriginalSyncMessageLikeEvent<ReactionEventContent>>(json),
|
||||
//! Ok(OriginalSyncMessageLikeEvent {
|
||||
//! content: ReactionEventContent {
|
||||
|
Loading…
x
Reference in New Issue
Block a user