docs: Fix links for v1.7

This commit is contained in:
Kévin Commaille 2023-05-25 19:01:53 +02:00 committed by Kévin Commaille
parent dc68190adc
commit 5f20a3292c
7 changed files with 9 additions and 9 deletions

View File

@ -197,7 +197,7 @@ impl ReferenceChunk {
/// [Bundled aggregations] of related child events of a message-like event. /// [Bundled aggregations] of related child events of a message-like event.
/// ///
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations /// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations-of-child-events
#[derive(Clone, Debug, Serialize)] #[derive(Clone, Debug, Serialize)]
#[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)]
pub struct BundledMessageLikeRelations<E> { pub struct BundledMessageLikeRelations<E> {
@ -258,7 +258,7 @@ impl<E> Default for BundledMessageLikeRelations<E> {
/// [Bundled aggregations] of related child events of a state event. /// [Bundled aggregations] of related child events of a state event.
/// ///
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations /// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations-of-child-events
#[derive(Clone, Debug, Default, Deserialize, Serialize)] #[derive(Clone, Debug, Default, Deserialize, Serialize)]
#[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)]
pub struct BundledStateRelations { pub struct BundledStateRelations {

View File

@ -506,7 +506,7 @@ pub struct RoomMemberUnsigned {
/// [Bundled aggregations] of related child events. /// [Bundled aggregations] of related child events.
/// ///
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations /// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations-of-child-events
#[serde(rename = "m.relations", default)] #[serde(rename = "m.relations", default)]
pub relations: BundledStateRelations, pub relations: BundledStateRelations,
} }

View File

@ -317,7 +317,7 @@ pub struct RoomRedactionUnsigned {
/// [Bundled aggregations] of related child events. /// [Bundled aggregations] of related child events.
/// ///
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations /// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations-of-child-events
#[serde(rename = "m.relations", default)] #[serde(rename = "m.relations", default)]
pub relations: BundledMessageLikeRelations<OriginalSyncRoomRedactionEvent>, pub relations: BundledMessageLikeRelations<OriginalSyncRoomRedactionEvent>,
} }

View File

@ -28,7 +28,7 @@ pub struct MessageLikeUnsigned<C: MessageLikeEventContent> {
/// [Bundled aggregations] of related child events. /// [Bundled aggregations] of related child events.
/// ///
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations /// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations-of-child-events
#[serde(rename = "m.relations", default)] #[serde(rename = "m.relations", default)]
pub relations: BundledMessageLikeRelations<OriginalSyncMessageLikeEvent<C>>, pub relations: BundledMessageLikeRelations<OriginalSyncMessageLikeEvent<C>>,
} }
@ -77,7 +77,7 @@ pub struct StateUnsigned<C: PossiblyRedactedStateEventContent> {
/// [Bundled aggregations] of related child events. /// [Bundled aggregations] of related child events.
/// ///
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations /// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations-of-child-events
#[serde(rename = "m.relations", default)] #[serde(rename = "m.relations", default)]
pub relations: BundledStateRelations, pub relations: BundledStateRelations,
} }

View File

@ -33,7 +33,7 @@ use super::ServerName;
/// ); /// );
/// ``` /// ```
/// ///
/// [event ID]: https://spec.matrix.org/latest/appendices/#room-ids-and-event-ids /// [event ID]: https://spec.matrix.org/latest/appendices/#event-ids
/// [room versions]: https://spec.matrix.org/latest/rooms/#complete-list-of-room-versions /// [room versions]: https://spec.matrix.org/latest/rooms/#complete-list-of-room-versions
#[repr(transparent)] #[repr(transparent)]
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash, IdZst)] #[derive(PartialEq, Eq, PartialOrd, Ord, Hash, IdZst)]

View File

@ -16,7 +16,7 @@ use super::{
/// assert_eq!(<&RoomId>::try_from("!n8f893n9:example.com").unwrap(), "!n8f893n9:example.com"); /// assert_eq!(<&RoomId>::try_from("!n8f893n9:example.com").unwrap(), "!n8f893n9:example.com");
/// ``` /// ```
/// ///
/// [room ID]: https://spec.matrix.org/latest/appendices/#room-ids-and-event-ids /// [room ID]: https://spec.matrix.org/latest/appendices/#room-ids
#[repr(transparent)] #[repr(transparent)]
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash, IdZst)] #[derive(PartialEq, Eq, PartialOrd, Ord, Hash, IdZst)]
#[ruma_id(validate = ruma_identifiers_validation::room_id::validate)] #[ruma_id(validate = ruma_identifiers_validation::room_id::validate)]

View File

@ -22,7 +22,7 @@ use super::{server_name::ServerName, OwnedRoomAliasId, OwnedRoomId, RoomAliasId,
/// ); /// );
/// ``` /// ```
/// ///
/// [room ID]: https://spec.matrix.org/latest/appendices/#room-ids-and-event-ids /// [room ID]: https://spec.matrix.org/latest/appendices/#room-ids
/// [room alias ID]: https://spec.matrix.org/latest/appendices/#room-aliases /// [room alias ID]: https://spec.matrix.org/latest/appendices/#room-aliases
#[repr(transparent)] #[repr(transparent)]
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash, IdZst)] #[derive(PartialEq, Eq, PartialOrd, Ord, Hash, IdZst)]