events: Fix rustdoc warning
This commit is contained in:
parent
2da8a34ff4
commit
851646dd97
@ -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)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user