diff --git a/crates/ruma-common/src/events/relation.rs b/crates/ruma-common/src/events/relation.rs index 88b487fc..9f10dcb8 100644 --- a/crates/ruma-common/src/events/relation.rs +++ b/crates/ruma-common/src/events/relation.rs @@ -197,7 +197,7 @@ impl ReferenceChunk { /// [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)] #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] pub struct BundledMessageLikeRelations { @@ -258,7 +258,7 @@ impl Default for BundledMessageLikeRelations { /// [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)] #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] pub struct BundledStateRelations { diff --git a/crates/ruma-common/src/events/room/member.rs b/crates/ruma-common/src/events/room/member.rs index 662f3e82..9cb95a91 100644 --- a/crates/ruma-common/src/events/room/member.rs +++ b/crates/ruma-common/src/events/room/member.rs @@ -506,7 +506,7 @@ pub struct RoomMemberUnsigned { /// [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)] pub relations: BundledStateRelations, } diff --git a/crates/ruma-common/src/events/room/redaction.rs b/crates/ruma-common/src/events/room/redaction.rs index 41b596dd..a062dfe8 100644 --- a/crates/ruma-common/src/events/room/redaction.rs +++ b/crates/ruma-common/src/events/room/redaction.rs @@ -317,7 +317,7 @@ pub struct RoomRedactionUnsigned { /// [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)] pub relations: BundledMessageLikeRelations, } diff --git a/crates/ruma-common/src/events/unsigned.rs b/crates/ruma-common/src/events/unsigned.rs index 4a02b910..d221d2fb 100644 --- a/crates/ruma-common/src/events/unsigned.rs +++ b/crates/ruma-common/src/events/unsigned.rs @@ -28,7 +28,7 @@ pub struct MessageLikeUnsigned { /// [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)] pub relations: BundledMessageLikeRelations>, } @@ -77,7 +77,7 @@ pub struct StateUnsigned { /// [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)] pub relations: BundledStateRelations, } diff --git a/crates/ruma-common/src/identifiers/event_id.rs b/crates/ruma-common/src/identifiers/event_id.rs index 1298159e..b9835225 100644 --- a/crates/ruma-common/src/identifiers/event_id.rs +++ b/crates/ruma-common/src/identifiers/event_id.rs @@ -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 #[repr(transparent)] #[derive(PartialEq, Eq, PartialOrd, Ord, Hash, IdZst)] diff --git a/crates/ruma-common/src/identifiers/room_id.rs b/crates/ruma-common/src/identifiers/room_id.rs index 283de8d4..163f9c68 100644 --- a/crates/ruma-common/src/identifiers/room_id.rs +++ b/crates/ruma-common/src/identifiers/room_id.rs @@ -16,7 +16,7 @@ use super::{ /// 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)] #[derive(PartialEq, Eq, PartialOrd, Ord, Hash, IdZst)] #[ruma_id(validate = ruma_identifiers_validation::room_id::validate)] diff --git a/crates/ruma-common/src/identifiers/room_or_room_alias_id.rs b/crates/ruma-common/src/identifiers/room_or_room_alias_id.rs index b90b9c6e..57b7b71e 100644 --- a/crates/ruma-common/src/identifiers/room_or_room_alias_id.rs +++ b/crates/ruma-common/src/identifiers/room_or_room_alias_id.rs @@ -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 #[repr(transparent)] #[derive(PartialEq, Eq, PartialOrd, Ord, Hash, IdZst)]