events: Fix rustdoc warning

This commit is contained in:
Jonathan de Jong 2022-02-10 20:24:29 +01:00 committed by GitHub
parent 2da8a34ff4
commit 851646dd97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,8 +109,9 @@ pub enum Relation {
/// The event this relation belongs to replaces another event. /// The event this relation belongs to replaces another event.
/// ///
/// In contrast to [`message::Replacement`], this struct doesn't store the new content, since that /// In contrast to [`message::Replacement`](crate::room::message::Replacement), this struct doesn't
/// is part of the encrypted content of an `m.room.encrypted` events. /// store the new content, since that is part of the encrypted content of an `m.room.encrypted`
/// events.
#[derive(Clone, Debug, Deserialize, Serialize)] #[derive(Clone, Debug, Deserialize, Serialize)]
#[cfg(feature = "unstable-pre-spec")] #[cfg(feature = "unstable-pre-spec")]
#[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)]