From 22fbb9ee245bea120aa9cf334ddd84fbbb736aab Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Tue, 24 May 2022 18:18:43 +0200 Subject: [PATCH] events: Update doctest --- crates/ruma-common/src/events.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruma-common/src/events.rs b/crates/ruma-common/src/events.rs index 73854987..736d5da8 100644 --- a/crates/ruma-common/src/events.rs +++ b/crates/ruma-common/src/events.rs @@ -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::>(json), //! Ok(OriginalSyncMessageLikeEvent { //! content: ReactionEventContent {